Re: Session_id(); are changing between the pages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 8 Jun 2014, at 01:00, hadi <almarzuki2011@xxxxxxxxxxx> wrote:
> 
> Aziz Saleh,
> 
>> What is the cookie value for PHPSESSID on each of those pages you have?
> 
> I'm getting  different value on each page, not the same value.

This is because the browser is not sending the cookie back to the server, so the call to session_start() is creating a new session for each request.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux