|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-06-14 04:38 UTC] jkchang at ms6 dot url dot com dot tw
Hi, My plateform is Sun Ultra-10, OS is Solaris 8, Apache1.3.24, PHP-4.2.0 and compiled with OpenSSL & ModSSL. After finished all the setup steps. I can see the phpinfo() page and it showed all the stuffs. While I executed my php programs, the session file could be generated and all the values were stored. BUT AFTER I switch to next pages, ALL the session values were EMPTY, Why????? I put all the same php programs on the other plateform with RedHat 6.2 Linux, Apache1.3.14 & PHP-4.0.4, IT WORKED VERY WELL!! WHY ??? & Thanx a lot !! PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 19:00:01 2025 UTC |
Similar symptoms on Apache/ModSSL upgrade on same box Box: 280-R (sun4u) 2x4 Working Config (port 89): Solaris 8, Apache 1.3.23, ModSSL 2.8.7, OpenSSL 0.9.6c, PHP 4.2.1 NonWorking Config (port 890): Solaris 8, Apache 1.3.26, ModSSL 2.8.10, OpenSSL 0.9.6d, PHP 4.2.1 Reproducable sample: file1.php :::::::::::::: <?php session_start(); $normal=1; session_register("normal"); header('Location: file2.php'); ?> file2.php :::::::::::::: <?php session_register("normal"); echo "Normal:".$normal."<br><br>\n"; ?>Ist it possible that you have register_globals off? Try file1.php :::::::::::::: <?php session_start(); $normal=1; session_register("normal"); header('Location: file2.php'); ?> file2.php :::::::::::::: <?php session_register("normal"); echo "Normal:".$_SESSION["normal"]."<br><br>\n"; ?>