in reply to Re: reading and writing a CGI cookie in the same page
in thread reading and writing a CGI cookie in the same page

Forget javascript trickery (as a "helper" javascript rocks, but you can't rely on it so don't rely on it from the beginning).

It is best to do a redirect (some might call it standard practice). See merlyns article on Basic Cookie Management.

Basic strategy is


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re: Re: reading and writing a CGI cookie in the same page