Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: A rotten cookie

by jsprat (Curate)
on Aug 05, 2003 at 04:55 UTC ( #280882=note: print w/replies, xml ) Need Help??

in reply to A rotten cookie

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://280882]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2017-06-28 03:48 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (622 votes). Check out past polls.