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

2005-07-18 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 paramete

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

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() -- PHP

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--(-)>?