note 62121 added to ref.session

From: Date: Mon, 20 Feb 2006 18:21:35 +0000
Subject: note 62121 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-104079@lists.php.net to get a copy of this message
In response to "djohnson at jsatech dot com", posted 09-Dec-2005 09:00 "Be warned, when working with tab-based browsers like Opera and Firefox, sessions are preserved across tabs....IE deals with sessions just fine. There is probably some way to adjust the settings in Firefox or Opera, but that is not the default, and will affect most users." In fact, the way sessions are managed among different browsers is not all that different among MSIE and Opera and Firefox. You will find that MSIE sessions can be maintained across browser windows, just like in FF or Opera. However the difference that djohnson noted is because of the way MSIE windows are created vs FF and Opera. If you choose, in MSIE, "File->New Window", you will find that PHP sessions are preserved from browser window to browser window. If, OTOH, you start a new window of MSIE using the start menu or desktop icon, a new instance of MSIE, with a new process ID, is started. *This* instance does not have anything to do with any other previously existing MSIE instances, and, thus, PHP sessions started in this new MSIE process are distinct from PHP sessions in existing MSIE instances. See the difference? Whereas FF and Opera apparently always start a new window into an existing FF or Opera process. Thus PHP sessions are always maintained across browser instances with FF and Opera. ---- Server IP: 216.194.113.175 Probable Submitter: 128.220.16.52 ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+62121 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62121&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62121&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62121&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62121&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62121&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62121&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62121&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+62121&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#104079) next »