Sessions Can't be read on LocalHost

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bungladore
Forum Newbie
Posts: 1
Joined: Fri Jan 24, 2003 1:02 pm
Location: Portland

Sessions Can't be read on LocalHost

Post by bungladore »

Anyone know why Sessions aren't being created correctly on my local host. When I upload to my host server the script works fine. This is great but I want to be able to test on my machine before I upload. Anyone have a similar problem.

I am trying to code my own login/registration component? Would it be better to just store Info in the DBase?

Thanks
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

set error_reporting = E_ALL in your localhost-php.ini (if not set so by default) and check the webserver's error log.
Maybe session.save_path (also php.ini) points to an invalid directory.
Post Reply