Problem with session based login after moving relevent files to site root

Posted by YsoL8 on Stack Overflow See other posts from Stack Overflow or by YsoL8
Published on 2010-06-03T11:11:29Z Indexed on 2010/06/03 11:14 UTC
Read the original article Hit count: 194

Filed under:
|
|

Hello

I have a site which I have been testing in a sub-folder of my clients site-root. I had no log in problems during testing, but then I moved the new site files from a sub-directory to the main site root, and now I'm losing my logged in state after almost every page refresh in secure areas.

I am running a $_session based login system that refreshes the session id on every page load, with a comparison value stored in the MySQL database.

Does anyone have suggestions for what could be causing this problem?

© Stack Overflow or respective owner

Related posts about php

Related posts about session