Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Cookie Problem!

by senik148 (Beadle)
on Apr 26, 2003 at 18:02 UTC ( [id://253388]=perlquestion: print w/replies, xml ) Need Help??

senik148 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Cookie Problem!
by sutch (Curate) on Apr 26, 2003 at 18:15 UTC
    So what is your question?

    If you want an expiration date, then set one:

    $cookie = $query->cookie(-name=>'my-cookie', -value=>'1', -expires=>'+8h');
Re: Cookie Problem!
by Juerd (Abbot) on Apr 26, 2003 at 18:14 UTC

    You haven't stated any question, but I'm sure the documentation has the answer.

    perldoc CGI perldoc CGI::Cookie
Re: Cookie Problem!
by atnonis (Monk) on Apr 27, 2003 at 19:52 UTC
    Hi! So what is your question!? Maybe: "Why my cookie(s) expires!?"
    This is correct. You haven't set an expire date for your cookies. That means cookies are true until you close your browser. Browser keep cookies in memory and the delete them.
    Hope that helps!

    Antonis!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://253388]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found