RE: [PHP] Session_id(); are changing between the pages.

From: Date: Sun, 08 Jun 2014 00:00:46 +0000
Subject: RE: [PHP] Session_id(); are changing between the pages.
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.general 
Request: Send a blank email to php-general+get-323415@lists.php.net to get a copy of this message
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. > > > > Stuart, > > > > > > > Your code works fine, so it must be something to do with your > > > browser. My guess is that cookies are disabled. > > > > > > http://dev.3ft9.com/php/hadi/test2.php > > > > I tried your link in my browser it work fine so cookie are enabled in > > my browser. > > > > > >> > > > >> Stuart, > > > >> > > > >>> Neither. When you visit your site in the browser are you using a > > > >>> URL that starts with http://localhost/ ? > > > >> > > > >> No I'm using ip address > > > >> http://192.168.206.129/phptest/test2.php > > > > > > > > And you’re certain that cookies are enabled in your browser? > > > > > > Your code works fine, so it must be something to do with your > > > browser. My guess is that cookies are disabled. > > > > > > http://dev.3ft9.com/php/hadi/test2.php > > > > > > -Stuart > > > > > > -- > > > Stuart Dallas > > > 3ft9 Ltd > > > http://3ft9.com/ > > > > What is the cookie value for PHPSESSID on each of those pages you have?

Attachment: [application/pkcs7-signature] smime.p7s
« previous php.general (#323415) next »