The stupid question is the question not asked | |
PerlMonks |
Re: A rotten cookieby jsprat (Curate) |
on Aug 05, 2003 at 04:55 UTC ( [id://280882]=note: print w/replies, xml ) | Need Help?? |
Merlyn wrote a very good column on Basic cookie management. Look at lines 8 through 30 for the example, but be sure to read the whole article. Basically, it checks if the cookie exists, and if not it prints and posts the form, sets the cookie, then redirects to the same page. Hope this helps
In Section
Seekers of Perl Wisdom
|
|