----- Original Message -----
From: "Emma Jane Hogbin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 1:08 PM
Subject: Re: [PHP] sessions, IE and pop-up windows


> On Mon, Jun 09, 2003 at 09:26:45PM +0200, winst0n wrote:
> > Hi, try to write a @session_start(); in ur popup windows... it will call
the
> > last session opened by the client.
>
> I already do that....both the parent and the main window call a file which
> has the session_start in it. I believe the problem is that I have two
> windows open with the same session information. According to this page,
> tha'ts a problem:
>
> http://ca.php.net/manual/en/function.session-start.php
> benja at benja dot be
> 15-Apr-2003 12:45
> Just for info, session_start() blocks if another PHP using the same
> session is still running in background. It seems it's waiting the other
> PHP to finish... and sometimes it can be a problem. Create 2 different
> sessions by setting 2 different names : session_name() solve the problem.
>
> Benja.

I'll bet you're using an onLoad command to launch the popup aren't you.  Use
Output Buffering to keep stdout from flushing before the parent script dies.
If my assumption about onLoad is correct then that'll solve your problem.

HTH,
Kevin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to