skiluvia Posted May 21, 2008 Share Posted May 21, 2008 Installed/upgraded to PHP 5.2.6 on Windows 2003 Server (IIS6). All necessary required settings have been set in php.ini file. However, my sessions do not get transfered on the next page even with sessions_start() being called on each page. I have enabled all errors and no any warnings or errors. I suspect that this might be a bug in PHP 5.2.6 or something else tricky with PHP5 to get sessions working. By the way, I can see sessions files get created in directory. Anyone out there with solution? Please help! Quote Link to comment Share on other sites More sharing options...
bilis_money Posted May 21, 2008 Share Posted May 21, 2008 show the codes Quote Link to comment Share on other sites More sharing options...
btherl Posted May 21, 2008 Share Posted May 21, 2008 Have you verified the problem with a short script like this? session_start(); print "Session foo is "; var_dump($_SESSION['foo']); $_SESSION['foo'] = 1; My first guess would be that register_globals is not set in the new php.ini Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted May 21, 2008 Share Posted May 21, 2008 I have enabled all errors and no any warnings or errors Show how you have done that and if you did that in php.ini, have you verified that the settings were actually changed using a phpinfo(); statement? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.