> On 8 Jun 2014, at 00:24, Stuart Dallas <stuart@xxxxxxxx> wrote: > >> On 7 Jun 2014, at 23:38, hadi <almarzuki2011@xxxxxxxxxxx> wrote: >> >> 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php