http://www.perlmonks.org?node_id=152098


in reply to Cookies on Apache vs cookies on IIS

I think you have a silent typo. Try changing     -expire => '', to     -expires => '', and double-check what '' means as an expire time. My quick read of the CGI pod doesn't say anything about this being legal, and a glance through the code suggests that you're not going to be sending an Expires header. Are you sure this is what you want?

Replies are listed 'Best First'.
Re: Re: Cookies on Apache vs cookies on IIS
by the_slycer (Chaplain) on Mar 16, 2002 at 01:54 UTC
    That could be the problem, I'll have to wait till I'm back at work, seems odd though, as I'm *sure* that I didn't touch that code during the transition to the IIS server.

    As far as expires being blank, when I first read about how to use cookies (not that long ago :)), I read that a blank expires is the same as a negative expires - ie: not written to disk, only accesible while the browser is open. But, I could be wrong :)

    Thanks