in reply to Detect CGI page caller
There is probably no easy foolproof way using HTTP (such as refresh, checking referer etc). I suggest that you convert the bar.cgi programs into modules, then modify foo.cgi to require the appropriate bar module when needed. The bar module would then receive its parameters from and pass its http content to foo.cgi, which would then serve the web page.
|
|---|