billy_papa Posted April 27, 2011 Share Posted April 27, 2011 I have a website uploaded onto Host Gator hosting and the sessions are carried over to the other pages ok. When using the same website in XAMPP it does not carry over the session to the next page and need to login again. If i log in it puts the following after the URL - ?sid=3b71942d410d84c45f9f4433561c325a The when i go to another link it loses the sid and i'll need to manualy past it into the next URL to get it working unless i log in again on the new page. This is only happening with XAMPP but working fine in the Host Gator hosting environment. Please help! My login is integrated with the phpbb3 login. This is the code at the beginning of every page - <?php ob_start(); define('IN_PHPBB', true); $phpbb_root_path = './phpbb3/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup(); ?> Quote Link to comment Share on other sites More sharing options...
billy_papa Posted May 1, 2011 Author Share Posted May 1, 2011 Anyone??? Quote Link to comment Share on other sites More sharing options...
billy_papa Posted May 2, 2011 Author Share Posted May 2, 2011 Working PHP Version: PHP Version 5.2.17 Problem PHP Version: PHP Version 5.3.5 Quote Link to comment Share on other sites More sharing options...
billy_papa Posted May 2, 2011 Author Share Posted May 2, 2011 Fixed by changing request_order = "GP" change to: request_order = "GPC" in PHP.ini. 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.