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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.