Posted by Mark Parnell on 12/21/05 06:31
Deciding to do something for the good of humanity, Eric
<nospam@email.com> spouted in alt.html:
> Ah, but that requires someone to click on it.
Or they could type the address in the address bar, etc. Same as getting
to any other page on this Interweb thingy.
> I need to have this cgi run
> when the page loads.
You misunderstood Toby. The cgi *is* the page. The entire page is
generated by the cgi script. So the address of the page is the address
of the cgi.
> If i do <body onload="cgi-bin/my.cgi"> will that
> satisfy the header requirement timing?
No - the headers are sent by the server before the content of the page.
> If this is in the site's idex.html
> file will it set a cookie on any client that comes to the site?
I highly doubt a cgi would run client-side at all, but even if it did it
would fail for anyone with client-side scripting disabled/unavailable.
--
Mark Parnell
=====================================================
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/
[Back to original message]
|