Sessions php and flash5, cookies disabled
| From: | Jan Grafström | Date: | Tue, 25 Dec 2001 15:40:12 +0000 |
| Subject: | Sessions php and flash5, cookies disabled | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78716@lists.php.net to get a copy of this message | ||
Hi!
I am trying to get my php-scripts to work using flash 5 and with cookies
disabled in the users browser.
At first I pass SID to flash and than I can call my php-scripts by passing
the SID back to PHP using loadvariables and get method, this works fine.
The problem is when I pass it to a php-page and than pass it to a second
php-script.
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."\">
Thanks for any help.
--
Jan Grafström
Lillemans Hus AB
Sweden
46 (0)611-60920
46 (0)70-6409073