RE: [PHP] sessions, IE and pop-up windows
| From: | Ford, Mike [LSS] | Date: | Tue, 10 Jun 2003 09:34:54 +0000 |
| Subject: | RE: [PHP] sessions, IE and pop-up windows | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150875@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Jason k Larson [mailto:jlarson@candlefire.org]
> Sent: 09 June 2003 22:23
>
> Try adding the SessionID to the URL.
>
> openEdit("add=event&cellid=10&<?PHP echo Session_Name
> ().'='.Session_ID();?>");
>
> or a little better:
> $thisSession = Session_Name().'='.Session_ID();
> openEdit("add=event&cellid=10&<?PHP echo $thisSession;?>");
Sigh! I've already mentioned tow or three times in the past week that this
is exactly what the predefined constant SID is for -- so even better would
be:
openEdit("add=event&cellid=10&<?PHP echo SID ?>");
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: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211