Re: Session understanding

From: Date: Thu, 02 Sep 2004 17:20:31 +0000
Subject: Re: Session understanding
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-195610@lists.php.net to get a copy of this message
Michael Gale wrote:
Hello, The site is for a ticket tracking system, if a CSR has a window open and is working on company A - I would like to save some information about company A in a session variable. Since the session is stored in the DB I figured it was save. Then if the CSR need to look up another company and opens another window I want to make sure that the session variable I just set containing company A is not over written. ... Is there a better way to do this ... I was hoping to not have to pass variables between each page by including them in the URL. Michael. It will be a tough ask to prevent one record from being overwritten by another - As I mentioned in a previous mail the only way to do this is probably to use trans-sid.
An alternative approach (that does not involve trans-sid) would be to save multiple records along with another record which identifies which record is beign currently worked on. -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.

« previous php.general (#195610) next »