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

From: Date: Sat, 07 Jun 2014 22:21:43 +0000
Subject: Re: Re: Session_id(); are changing between the pages.
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-323404@lists.php.net to get a copy of this message
> On 7 Jun 2014, at 23:01, hadi <almarzuki2011@hotmail.com> 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/

« previous php.general (#323404) next »