Mailing List Archive

RE:using cookie ...couldn't set minutes
Hi All,

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.

rgds
Gopi



-----Original Message-----
From: Gerald Richter [mailto:richter@ecos.de]
Sent: Tuesday, May 30, 2000 11:44 AM
To: Dirk Lutzebaeck; embperl@perl.apache.org
Subject: RE: understanding optReturnError


> Gerald Richter writes:
>
> > I have no problems here with optReturnError. It should set the
> status to 500
> > and not 200. Maybe there is an problem with your
> Apache/mod_perl. Does the
> > make test (errdoc/errdoc.htm) works for you. This test the
> optReturnError
> > under mod_perl. (it uses 262144 as option, but this should not make a
> > difference to yours options)
>
> The test errdoc/errdoc.htm works in offline and in onlinde mode. This
> is on modperl 1.21 and Embperl 1.2.1.
>
> Where can I start to look to resolve the problem?
>

First make sure that optReturnError is really set for that document, by
inserting a

[+ $optReturnError +]

inside the document. This should give 1. If this is true, you may use
exactly same option value (262144) as the test.

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org