note 62121 deleted from ref.session by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 18:21:24 +0000 |
| Subject: | note 62121 deleted from ref.session by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142219@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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.