Re: Hotmail cookie authentication
| From: | David Newcomb | Date: | Wed, 14 Jun 2000 13:15:30 +0000 |
| Subject: | Re: Hotmail cookie authentication | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21312@lists.php.net to get a copy of this message | ||
Jon,
Thanks, that's done the trick.
David.
----- Original Message -----
From: Jon Parise <jon@csh.rit.edu>
To: <php-dev@lists.php.net>
Sent: Tuesday, June 13, 2000 7:36 PM
Subject: Re: [PHP-DEV] Hotmail cookie authentication
> On Tue, Jun 13, 2000 at 10:56:14AM +0100, David Newcomb wrote:
> > It seems that as long the user dosen't close thier browser then
> > they can go back to a bookmarked page within the hotmail tree.
> > But as soon as they close and repoen their browers the cookie is
> > lost and the hotmail server asks them to re-enter their password.
> > How is this achieved, using PHP (4)?
>
> Set the cookie's expiration to zero. It will last the length of
> the browser session (until the browser is closed).