solved Re: [PHP] sessions, IE and pop-up windows
| From: | Emma Jane Hogbin | Date: | Mon, 09 Jun 2003 22:21:46 +0000 |
| Subject: | solved Re: [PHP] sessions, IE and pop-up windows | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150818@lists.php.net to get a copy of this message | ||
On Mon, Jun 09, 2003 at 03:56:28PM -0600, Kevin Stone wrote:
> I still believe what's happening is the edit script is being executed before
> the parent script has died. Are you doing some kind of looping background
> process or something that's keeping the parent script from exiting?
No. In fact I have explicitly closed the session at the end of the page
with a session_write_close(); This is called as the very last line on the
page (even after the </html>).
> You need to avoid this situation by -> killing that parent script<- before
> the edit script is launched. You can ensure this with output buffering as I
> suggested before. Becuase you're controlling the output there won't be a
> button to press until the parent script has died.
What ended up working was passing the session ID to the pop-up window
"manually" by including it in the function (and thus the URL).
emma
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]