|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-09-15 14:37 UTC] sengtha at hotmail dot com
Description: ------------ I had problem with session.use_trans_sid of PHP 4.4.4 on Docomo mobile phone. The session did not work at all. I use Docomo simulator (http://www.nttdocomo.co.jp/english/p_s/i/flash/tool2.html) to test it. The session_id value is always changed when I refresh or move between page. But it work find with PHP Version 4.3.11. And the code also works fine on PC. Reproduce code: --------------- I create two php file to test. test.php ------------------- <?php ini_set("session.use_trans_sid",1); session_start(); ?> <html> <body> <?php $_SESSION["test"]="Hello"; print_r($_SESSION); ?> <br/></br> <a href="gettest.php">Next Page</a> </body> </html> ----------------- gettet.php ----------------- <?php ini_set("session.use_trans_sid",1); session_start(); ?> <html> <body> <?php print_r($_SESSION); echo "<br/>SESSION ID:".session_id(); ?> </body> </html> PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 17:00:01 2025 UTC |
And btw this: ini_set("session.use_trans_sid",1); won't work, you need to set it in php.ini.