note 89134 deleted from function.session-start by peehaa
| From: | peehaa@php.net | Date: | Fri, 09 Dec 2016 22:15:04 +0000 |
| Subject: | note 89134 deleted from function.session-start by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208341@lists.php.net to get a copy of this message | ||
Note Submitter: tchalvakspam at gmail dot com
----
Be aware that if a browser isn't accepting cookies, it can cause the session to invisibly not
save between two pages.
So for example, in Firefox 3.0.6 there is a bug where "localhost" addresses are currently
not saving cookies. This will kill any attempts to use session code in development where localhost
is used.
One workaround for this is to use a different synonym for the localhost address, i.e. http://127.0.0.1/, or set up a virtualhost, e.g. http://localdevelopment/
Overall, pay close attention if you see to different, unexpected session behavior in two different
browsers, it may be a result of the cookies being handled differently or being dropped.