have a look at session_set_cookie_params in the man Paul Roberts http://www.paul-roberts.com [EMAIL PROTECTED] ++++++++++++++++++++++++
----- Original Message ----- From: "Kieran Hall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 26, 2002 12:57 AM Subject: RE: [PHP-WIN] re-initiating a sesion > 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:[EMAIL PROTECTED]] > Sent: 26 August 2002 00:22 > To: Kieran Hall; [EMAIL PROTECTED] > 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:[EMAIL PROTECTED]] > > Sent: Monday, 26 August 2002 9:01 AM > > To: [EMAIL PROTECTED] > > 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 > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php