1. check database for username/password match
2. if match, start session success
3. if session success exists, display page, if not, redirect to login etc. etc.
This code has worked may times before including today. Earlier today, I could login correctly, but a few hours later, the session doesn't seem to be writing.
First, I tried adding :
Code: Select all
ini_set('error_reporting', E_ALL);
ini_set('display_errors', TRUE);i've also created a /tmp directory, but don't know what to tell the web host to do. was it write permissions to the /tmp folder, enable session handling, or set the session.save_path=/tmp? Or am I missing something else? And I can't figure out why it worked for about an hour, but then stopped.
Sorry again.