note 59558 added to ref.session
| From: | djohnson at jsatech dot com | Date: | Fri, 09 Dec 2005 16:00:09 +0000 |
| Subject: | note 59558 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99853@lists.php.net to get a copy of this message | ||
Be warned, when working with tab-based browsers like Opera and Firefox, sessions are preserved
across tabs. These can be either a good thing or bad thing, depending upon your application. We
found this to be problem, if we wanted to log in as two different users in two different tabs. This
is not possible: either the second tab will have the information from the first, or logging into the
second will replace the information in the first tab.
If you close a tab, the session is still persistent. Only when you close the window will the session
information be deleted from the browser cache. 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.
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59558
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59558&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59558&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59558&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59558&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59558&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59558&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59558&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59558&report=yes
Search -- http://master.php.net/manage/user-notes.php