RE: [PHP] Re: Session_id(); are changing between the pages.
| From: | hadi | Date: | Sat, 07 Jun 2014 22:38:19 +0000 |
| Subject: | RE: [PHP] Re: Session_id(); are changing between the pages. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323405@lists.php.net to get a copy of this message | ||
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
> >
> > 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
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s