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 23:01, hadi <almarzuki2011@xxxxxxxxxxx> wrote:
> 
> Stuart,
> 
>> 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.
> 
> Do you mean system name ? or hostname in php.ini ?

Neither. When you visit your site in the browser are you using a URL that starts with http://localhost/ ?

-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