perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Danchenkov <>
Subject libapreq. Apache::Cookie returns different 'expires' than CGI::Cookie?
Date Fri, 14 Dec 2001 17:15:25 GMT
Hello, All!
I wonder why my '$cookie->expires' for this code returns a
different result than the similar one with CGI::Cookie (commented).
The result is different in a way that some additional binary code is
being added to the expiry date.
$cookie = Apache::Cookie->new( $r,
  -expires=>"+10m" );
#    my $cookie = new CGI::Cookie(
  -expires=>"+10m" );
$expiry = $cookie->expires;
Any suggestions?
Cheers, Alexei

View raw message