Page 1 of 1

Sessions Can't be read on LocalHost

Posted: Fri Jan 24, 2003 1:02 pm
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

Posted: Fri Jan 24, 2003 1:29 pm
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.