sulfericacid has asked for the wisdom of the Perl Monks concerning the following question:
I don't understand how you need to set a cookie with the headers..I don't understand how you're supposed to collect user data before you can print headers.
Can someone show me a very basic snippet for checking to see if a cookie exists, if it doesn't print a form and use whatever data they present from the form as the cookie?
All the codes I've seen checked for a cookie and if it didn't exist, they made a cookie with whatever information they want but it didn't require user data.
I don't quite understand the logic of how we're supposed to use specific data as cookie values before you're allowed to print anything. Thank you everyone for your support on this..
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"
sulfericacid
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A rotten cookie
by jsprat (Curate) on Aug 05, 2003 at 04:55 UTC | |
|
Re: A rotten cookie
by bobn (Chaplain) on Aug 05, 2003 at 05:13 UTC | |
|
Re: A rotten cookie
by Anonymous Monk on Aug 05, 2003 at 05:22 UTC | |
by sulfericacid (Deacon) on Aug 05, 2003 at 09:45 UTC | |
by thraxil (Prior) on Aug 05, 2003 at 15:59 UTC | |
|
Re: A rotten cookie
by antirice (Priest) on Aug 05, 2003 at 15:29 UTC | |
|
Re: A rotten cookie
by LameNerd (Hermit) on Aug 05, 2003 at 05:15 UTC |