Re: Hotmail cookie authentication
| From: | Jon Parise | Date: | Tue, 13 Jun 2000 18:36:21 +0000 |
| Subject: | Re: Hotmail cookie authentication | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21231@lists.php.net to get a copy of this message | ||
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).
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member