Page 1 of 1
session management on my local computer
Posted: Sun Jul 31, 2005 3:20 am
by ozkurede
I created a session management system which requires to login using user&password. The system works fine on any hosting, on the net. But ıt does not work on my local computer. After I login, when i try to visin any secure page, the system gives "you're not logged in" message.
What could be the reason for this?
Posted: Sun Jul 31, 2005 7:00 am
by timvw
Are you sure your sessions are set up well on your local server?
If you prepend the following to your scripts, you might get some hints..
Code: Select all
ini_set('error_reporting', E_ALL);
ini_set('display_errors', TRUE);
Posted: Wed Aug 03, 2005 7:24 am
by ozkurede
thank you,
after i turned error messages on, i realized that the session cannot be started because i do not have the directiory /tmp in which the session data was to be written.
i created the directory, and now it works fine, thanks a lot.