Re: Session problems with popup window
| From: | Jim lucas | Date: | Mon, 08 Jul 2002 15:21:59 +0000 |
| Subject: | Re: Session problems with popup window | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106094@lists.php.net to get a copy of this message | ||
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" <mchampagne@capis.com>
To: "PHP General Mailing List" <php-general@lists.php.net>
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
could
> offer some insight.
>
> We are using sessions on our webpage and one of the links on our main
page,
> launches a separate popup window which has some PHP on it and contains
some
> 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
lookup
> which is part of the user's session data. Basically, it lets the user
refresh
> a directory to see if a file is there and available for download. If the
user
> logs out in the main window, we lose this session data and the user ID and
the
> page chokes because it cannot find the user directory because we've lost
the
> user ID.
>
> Does anyone have any ideas how we can get around this? Thanks in advance
for
> any replies -- this mailing list has been a huge help for us.
>
> --
> Michael Champagne, Software Engineer
> Capital Institutional Services, Inc.
> wk: mchampagne@capis.com
> hm: mchamp@sbcglobal.net
>
>
>
> ******************************************************************
> 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 (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>