Re: Session Issues

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

 




On 20/12/14 15:28, Simon Schick wrote:
> This session-id usually is sent using a Cookie. Please check if you get the
> cookie with the correct value in your client (probably your web browser)
> and check, that the client again sends it to the server on the next
> request. If you don't do so, PHP thinks you are a user without a previously
> created session.

Here is an example of the problem I am having.

The cookie received is PHPSESSID: c6rb8d4g51urjpt4m5n3kcve25 with path:"/".

On the next request the cookie is sent back as expected

Request cookies: PHPSESSID: c6rb8d4g51urjpt4m5n3kcve25

The response is:

Set-Cookie: PHPSESSID=3jmq7ku794po247mm7gtdf2f13; path=/

As you can see PHP is generating a new session regardless of whether a
previous one existed.

I am trying to find a way to debug the cause of this.

Cheers,

-- 
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