I\'m using PHP 4.3.9, Apache/2.0.52
I\'m trying to get a login system working that registers DB values in a session where they\'re available once lo
Try doing a
session_regenerate_id(true);
before the
session_write_close();
Also. The best way IMO to do a login script is this:
Let the login logic be handled within the mainpage the user is trying to access.
Then you wont have the trouble of session not saving just before a redirect