> -----Original Message----- > From: Kevin Stone [mailto:[EMAIL PROTECTED] > Sent: 09 June 2003 23:54 > > ----- Original Message ----- > From: "Emma Jane Hogbin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > > > 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). > > I just don't see how this could have solved your problem > except to do the > same thing that output buffering would have done and that is to > (essentially) queue the execution of the two scripts. Anyone care to > explain this?
Well, first of all the fact that this solution works means it has nothing to do with the output buffering setting, nor whether there's a session_write_close() in the calling script (although that's good practice in this situation, and I'd probably recommend doing it a bit earlier in the script -- certainly before emitting the </body>). >From the fact that this does solve the problem, we can assume that (i) the session ID >is being passed in the URL and not via a cookie, and (ii) the session.use_trans_sid >URL rewriter isn't rewriting the URLs in the JavaScript call. This would mean that >the script called in the popup is seeing the session ID neither in the URL nor in a >cookie -- i.e. not at all -- and hence the need to add the SID information manually. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php