RE: [PHP-DB] independent session data for multiple browser windows

From: Date: Wed, 20 Feb 2008 19:18:56 +0000
Subject: RE: [PHP-DB] independent session data for multiple browser windows
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-44635@lists.php.net to get a copy of this message
> > They'll be accessing different account records in different windows. > I keep track of the current account id in the session data, as well > as a number of other account-specific items. Once I was made > aware of > the multiple-window requirement, and started looking more closely at > sessions, it seemed (from the PHP documentation) that I could > start a > new session, with a different name and id, and that would take care > of it. In fact I CAN start sessions with independent names and ids, > but their DATA doesn't seem to be completely independent. > Assuming that they are interacting through forms on the pages in the different windows, why not put the UID of the record they are accessing in a hidden field in the form? Gary

« previous php.db (#44635) next »