You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Andrew Lim <an...@caltan.com> on 2002/03/09 01:32:10 UTC

cookies not expiring on IE.

Hi. This might be a off-topic for this list but anyone knows anything about
this?

I sent cookie using the code below. (You see anything wrong?)
But the cookie are not seemed to be expired after 10 minutes.
I could confirm that it get's expired well on netscape but not on IE.

Is this an IE problem or my code is wrong?

Andrew

++++++++++++++++++++++++++++++++++
my $cookie1 = cookie(-name=>'A', -value=>'AAAA', -expires=>'+10m');
my $cookie2 = cookie(-name=>'B', -value=>'BBBBBB', -expires=>'+10m');
print header(-cookie=>[$cookie1, $cookie2]);


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


Re: cookies not expiring on IE.

Posted by Gerald Richter <ri...@ecos.de>.
>
> Is this an IE problem or my code is wrong?
>

Your code seems ok, I would suggest to set the option that IE should ask
always before accepting a cookie, then you can click on details and see what
you get send.

Gerald


> Andrew
>
> ++++++++++++++++++++++++++++++++++
> my $cookie1 = cookie(-name=>'A', -value=>'AAAA', -expires=>'+10m');
> my $cookie2 = cookie(-name=>'B', -value=>'BBBBBB', -expires=>'+10m');
> print header(-cookie=>[$cookie1, $cookie2]);
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>


-------------------------------------------------------------
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 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




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