Jump to content

Session issue with XAMPP server.


billy_papa

Recommended Posts

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();
?>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.