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!