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

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

 



> On 7 Jun 2014, at 22:38, hadi <almarzuki2011@xxxxxxxxxxx> wrote:
> 
> I checked the browser (Set-Cookie) Cookie transferred to the browser but not
> sending back to the server.

Are you using localhost as your hostname? If so that’s why; cookies will not be stored against localhost. You need to either start using a hostname with at least on dot, or pass an empty string, null or false as the hostname when setting the cookie.

-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