RE: [PHP-WIN] re-initiating a sesion
| From: | Peter Houchin | Date: | Sun, 25 Aug 2002 23:22:14 +0000 |
| Subject: | RE: [PHP-WIN] re-initiating a sesion | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15501@lists.php.net to get a copy of this message | ||
on the top of every pages that you need the sessions make sure you have
session_start() put this before any html out put and you shouldn't have any
problems
> -----Original Message-----
> From: Kieran Hall [mailto:kieran_hall@blueyonder.co.uk]
> Sent: Monday, 26 August 2002 9:01 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] re-initiating a sesion
>
>
> I have been playing with sessions on my web site and have tried to
> reinitiate a session by saving the session Id in a cookie and checking
> for it at the top of the page. However, this seems to fail. I
> discovered also, that by refreshing the browser the sessions starts
> (from the Id in the cookie). Any thoughts on the most effective way to
> do this?
>
> Kieran Hall
>