How do I make a site login with sessions, so that a person also can press "logout", and with timeouts.?
Right now I'm using the "HTTP authentication with PHP" example from the manual to be able to log in ...
usernames and passwords are stored in a mySQL database, passwords are encrypted with the builtin PASSWORD('password'); function in mySQL ...
Oh, it has do work without cookies, and it has to work from a form instead of that popup login box that comes now 🙁
Hope someone could explain the basics of this to me, perhaps give a small coding example...
Sincerely
Brian Schmidt