http://www.perlmonks.org?node_id=169869

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

  • Comment on Is it possible to retrieve the expiration time of a stored cookie?

Replies are listed 'Best First'.
Re: Is it possible to retrieve the expiration time of a stored cookie?
by screamingeagle (Curate) on May 29, 2002 at 20:22 UTC
    use CGI::Cookie for this. It has a method called expires() which is used to get or set the cookie's expiration time.
    hth