Mailing List Archive

RE: using cookie ...couldn't set minutes
Don't know what $q is (Apache::Request object? , CGI object?).


>
> I'm trying to set a cookie like this
> $cookie_val=$q->cookie(-name=>'cname',-value=>$uname ,-path=>'/',
> -expires=>'+15m');
>
> The cookie gets set but 15 minutes is added to the PDT time which is 8
> hours ahead of GMT.So when i set the 15mins for expire it is the
> GMT time (+
> or - ) client time zone +15 .Can anyone help me on this.
>



-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------