You are here: Re: cookie question « HTML « IT news, forums, messages
Re: cookie question

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация