legLess has asked for the wisdom of the Perl Monks concerning the following question:
Brief summary
Details
I'm looking for a little more flexibility in setting and reading cookies. First, here are what I consider to be CGI.pm's limitations. If I'm wrong about these, then the rest of my assumptions are flawed as well.
My other question is, How can I set cookies other than at HTTP header write time? What makes me think this is possible is that some annoying sites *cough*ZDNet*cough* appear to attempt to set a cookie with every image, long after the page header has been sent and displayed. Also, so-called 3rd-party cookies would have to work outside the page header as well, since they're usually set with banner ads or web bugs.
Am I misunderstanding what's happening here, or are these cookies really being set independent of the HTTP header? (I know you can set cookies with JavaScript, but like a one-fingered man can do calculus on an abacus - slowly and unreliably.)
Thanks muchly,
--
man with no legs, inc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cookie flexibility and limitations
by lestrrat (Deacon) on Jul 20, 2001 at 23:48 UTC | |
|
Re: Cookie flexibility and limitations
by simon.proctor (Vicar) on Jul 21, 2001 at 01:52 UTC | |
by legLess (Hermit) on Jul 21, 2001 at 02:09 UTC | |
|
Re: Cookie flexibility and limitations
by rucker (Scribe) on Jul 20, 2001 at 23:50 UTC |