Re: [PHP] Session has new id on 'some' pages.

2005-07-19 Thread Burhan Khalid
Marek Kilimajer wrote: Andy Pieters wrote: Ok found the solution, seems like one page is on http://server.org.uk and the other on www.server.org.uk even though its the same server it generates a different session id! set the domain of the cookie to 'server.org.uk', it's the fifth

[PHP] Session has new id on 'some' pages.

2005-07-18 Thread Andy Pieters
Hi all We have a extensive software that uses php session to store some very basic session information. ALL, and I do mean ALL files (except for globals.php) start like this: ?php require_once ../scripts/globals.php; ... ? And the file globals.php starts with ?php session_start(); We have

Re: [PHP] Session has new id on 'some' pages.

2005-07-18 Thread Andy Pieters
Ok found the solution, seems like one page is on http://server.org.uk and the other on www.server.org.uk even though its the same server it generates a different session id! -- Registered Linux User Number 379093 -- --BEGIN GEEK CODE BLOCK- Version: 3.1 GAT/O/E$ d-(---)+ s:(+): a--(-)?

Re: [PHP] Session has new id on 'some' pages.

2005-07-18 Thread Marek Kilimajer
Andy Pieters wrote: Ok found the solution, seems like one page is on http://server.org.uk and the other on www.server.org.uk even though its the same server it generates a different session id! set the domain of the cookie to 'server.org.uk', it's the fifth parameter of setcookie() --

Re: [PHP] Session has new id on 'some' pages.

2005-07-18 Thread Edward Vermillion
Andy Pieters wrote: Ok found the solution, seems like one page is on http://server.org.uk and the other on www.server.org.uk even though its the same server it generates a different session id! That's a cookie thing, if your transmitting the session ids through cookies, I'm going to assume