Hydrargyrum
New Member
- Messages
- 27
- Reaction score
- 0
- Points
- 0
Long story short, upon logging in, the following code is executed:
$_SESSION['LoggedIn'] = 1;
When I run this on my personal server, it works perfectly. The rest of the code sees that $_SESSION['LoggedIn'] is 1; and forwards the user to a nice little member area where they can make changes to their account and whatnot.
Unfortunately, the session seems to be clearing itself when I try to run this code on x10hosting. I Googled this problem and most people recommend changing something in the php.ini file, but I obviously can't do that, so what how do I work around it?
$_SESSION['LoggedIn'] = 1;
When I run this on my personal server, it works perfectly. The rest of the code sees that $_SESSION['LoggedIn'] is 1; and forwards the user to a nice little member area where they can make changes to their account and whatnot.
Unfortunately, the session seems to be clearing itself when I try to run this code on x10hosting. I Googled this problem and most people recommend changing something in the php.ini file, but I obviously can't do that, so what how do I work around it?