RE: [PHP-WIN] re-initiating a sesion
| From: | Kieran Hall | Date: | Sun, 25 Aug 2002 23:57:48 +0000 |
| Subject: | RE: [PHP-WIN] re-initiating a sesion | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15502@lists.php.net to get a copy of this message | ||
I know how to start the session, that isn't the problem. I want the
session to continue when the user returns. My question is really:
Should I save the session Id in a cookie? And if I should, the browser
seems to need refreshing (IE6).
Kieran Hall
-----Original Message-----
From: Peter Houchin [mailto:php@vfsa.com.au]
Sent: 26 August 2002 00:22
To: Kieran Hall; php-windows@lists.php.net
Subject: RE: [PHP-WIN] re-initiating a sesion
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
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php