RE: [PHP] session
| From: | Sichta, Daniel | Date: | Thu, 27 Apr 2006 12:59:09 +0000 |
| Subject: | RE: [PHP] session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234919@lists.php.net to get a copy of this message | ||
Solved !!!
THX everybody !!
Problem was in php.ini file session section !!!!
DS
-----Original Message-----
From: Ford, Mike [mailto:M.Ford@leedsmet.ac.uk]
Sent: Thursday, April 27, 2006 2:18 PM
To: php-general@lists.php.net
Subject: RE: [PHP] session
On 26 April 2006 15:02, chris smith wrote:
>
> Can you explicitly pass the sessionid across:
>
> <FRAMESET rows="100, 200">
> <FRAME src="blah1.php?session_id=<?php echo SID; ?>">
> <FRAME src="blah2.php?session_id=<?php echo SID; ?>">
> </FRAMESET>
>
> ?
That technique may or may not be the solution, but if it is it should be
simply:
<FRAME src="blah1.php?<?php echo SID; ?>">
<FRAME src="blah2.php?<?php echo SID; ?>">
This is precisely what the SID constant is provided for, and as such it
contains the entire session_name=session_id string. As a bonus, it's
defined as the null string when the session id is being propagated in a
cookie, so it can be included unconditionally where needed.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php