Reply to Re: PHP Session ID problem

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация