PHP Sessions Not working on server, but are on WAMP
Posted: Thu Jun 10, 2010 8:01 am
Hello All,
First Post
Ok so basically, i got a log in feature and it creates a session to ensure that restricted pages are only viewed by those logged in, and to display data specific to the user.
Now i got it working on my local Wamp Server, everything runs fine, but then when i upload it to my Linx web server, the sessions get a bit messed up. The log in works, because you get directed to the members only page, but a sessions isnt made, and you automatically get directed to a restricted access page.
I know my code is all fine because it works on the wamp server. But i cant seem to configure my Linux web server to accpet sessions in the same way.
Here is the Session phpInfo of my linux webserver.

Any help would be great !
First Post
Ok so basically, i got a log in feature and it creates a session to ensure that restricted pages are only viewed by those logged in, and to display data specific to the user.
Now i got it working on my local Wamp Server, everything runs fine, but then when i upload it to my Linx web server, the sessions get a bit messed up. The log in works, because you get directed to the members only page, but a sessions isnt made, and you automatically get directed to a restricted access page.
I know my code is all fine because it works on the wamp server. But i cant seem to configure my Linux web server to accpet sessions in the same way.
Here is the Session phpInfo of my linux webserver.

Any help would be great !