Re: Sessions php and flash5, cookies disabled
| From: | Brian Clark | Date: | Tue, 25 Dec 2001 16:56:31 +0000 |
| Subject: | Re: Sessions php and flash5, cookies disabled | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78719@lists.php.net to get a copy of this message | ||
* Jan Grafström (jan@grafstrom.net) [Dec 25. 2001 10:41]:
> The url string looks like this on php-page (sent from flash5):
> mypage.php3?SID=PHPSESSID=193a33f9b7421c17302d1bd58478b20b?.
> >From mypage.php3 I pass sid using ".SID." than on second page the string is
> changed to:
> second.php3?SID=PHPSESSID%3D193a33f9b7421c17302d1bd58478b20b&var3=1.
> "=" has changed to "%3D". and php does not recognice the session.
> part of code on mypage.php3:
> <form action=\"http://myserver.com/second.php3?\"
> method=\"get\">
> <input type=\"hidden\" name=\"SID\"
> value=\"".SID."\">
I'm sure you meant for that line to be:
<input type=\"hidden\" name=\"SID\"
value=\"".$SID."\">
Right? (note the $) Eventhough I don't think that has anything to do
with your problem.
> Thanks for any help.
Why are you using SID=PHPSESSID= instead of just SID=? If you
absolutely have to leave it the way you have it, you could always
explode('%3D',$SID); to get the correct session ID.
--
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
If your life is a hard drive, Christ can be your backup.