There's an expire field in the cookie: you can google for this.
However this is not a perl argument, though you are possibly using perl to code. You should post this in a more appropriate forum, also describing the environment in which you are working.
I'd stongly recommend using the CGI library. You're going to be constantly tripped up by the complexities of http otherwise and end up reinventing a lot of wheels.
Yours,
fish
["]As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life was going to be spent in finding mistakes in my own programs.["]
--Maurice Wilkes, 1949
I'm pretty sure every question you've asked now has had a response of "You should be using the CGI module". You might think about it. You should never store anything in a cookie other than a session id as they are not secure. You should use sessions to keep all of your data in.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.