|
Posted by MaKroZ on 02/18/06 23:27
On Sat, 18 Feb 2006 11:18:05 +0100, Tom Peel wrote:
> It's more of a hypothetical question. The application in this case
> resets the session variables when the user completes a transaction, so
> the question is, would you expect the data the he has started to input
> in a second browser to be reset as well? It's undefined behaviour.
Well, when you (your application) reset the session the session vars are
simply removed along with their file from the server's hard disk and the
variables don't exist anymore. So if the "second browser" has the same
session ID it apparently loses them too. I assume your "second browser"
means another window (tab, frame, iframe, popup, whatever..) of the same
browser software. Right? In that case and assuming that cookies are used
for session ID handling it's most likely that the session ID will be the
same.
--
nn My bookmarks:
(oo) http://www.yakutia.org
| | http://www.theisplist.com
|/\| http://www.diamondsgifts.com
[Back to original message]
|