note 89134 added to function.session-start

From: Date: Mon, 23 Feb 2009 21:25:33 +0000
Subject: note 89134 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-151031@lists.php.net to get a copy of this message
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. ---- Server IP: 209.41.74.194 Probable Submitter: 74.67.156.176 ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- https://master.php.net/note/edit/89134 Del: integrated -- https://master.php.net/note/delete/89134/integrated Del: useless -- https://master.php.net/note/delete/89134/useless Del: bad code -- https://master.php.net/note/delete/89134/bad+code Del: spam -- https://master.php.net/note/delete/89134/spam Del: non-english -- https://master.php.net/note/delete/89134/non-english Del: in docs -- https://master.php.net/note/delete/89134/in+docs Del: other reasons-- https://master.php.net/note/delete/89134 Reject -- https://master.php.net/note/reject/89134 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#151031) next »