pass the user id to the page as a url variable.  maybe set a unique cookie
name for that value that won't get destroyed when the person logs out.

Jim Lucas
----- Original Message -----
From: "Michael Champagne" <[EMAIL PROTECTED]>
To: "PHP General Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 8:18 AM
Subject: [PHP] Session problems with popup window

> I can't seem to find an elegant solution to this and was hoping you guys
> offer some insight.
> We are using sessions on our webpage and one of the links on our main
> launches a separate popup window which has some PHP on it and contains
> java applets which launch our web-based trading application.  The thing is
> that part of this page requires that we have the user ID for a database
> which is part of the user's session data.  Basically, it lets the user
> a directory to see if a file is there and available for download.  If the
> logs out in the main window, we lose this session data and the user ID and
> page chokes because it cannot find the user directory because we've lost
> user ID.
> Does anyone have any ideas how we can get around this?  Thanks in advance
> any replies -- this mailing list has been a huge help for us.
> --
> Michael Champagne, Software Engineer
> Capital Institutional Services, Inc.
> ******************************************************************
> This communication is for informational purposes only.  It is not
> intended as an offer or solicitation for the purchase or sale of
> any financial instrument or as an official confirmation of any
> transaction, unless specifically agreed otherwise.  All market
> prices, data and other information are not warranted as to
> completeness or accuracy and are subject to change without
> notice.  Any comments or statements made herein do not
> necessarily reflect the views or opinions of Capital Institutional
> Services, Inc.  Capital Institutional Services, Inc. accepts no
> liability for any errors or omissions arising as a result of
> transmission.  Use of this communication by other than intended
> recipients is prohibited.
> ******************************************************************
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to