perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Danchenkov <danchen...@comail.ru>
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,
  -name=>"access",
  -value=>$value,
  -expires=>"+10m" );
#    my $cookie = new CGI::Cookie(
  -name=>"access",
  -value=>$value,
  -expires=>"+10m" );
$expiry = $cookie->expires;
Any suggestions?
Cheers, Alexei
mailto:danchenkov@comail.ru


Mime
View raw message