Re: solved Re: [PHP] sessions, IE and pop-up windows
| From: | Emma Jane Hogbin | Date: | Tue, 10 Jun 2003 13:13:38 +0000 |
| Subject: | Re: solved Re: [PHP] sessions, IE and pop-up windows | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150903@lists.php.net to get a copy of this message | ||
On Tue, Jun 10, 2003 at 10:47:58AM +0100, Ford, Mike [LSS] wrote:
> 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>).
Because of the way the templates are set up this is the best place for me
to put it, I think. At the bottom of the page I'm still including footers
which have logout options.
> >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.
Ahh!! Yes, I'm using an external .js file to create the pop-up window.
emma
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]