Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

[PHP] Sessions php and flash5, cookies disabled From: Jan Grafström (jan <email protected>)
Date: 12/25/01

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

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>