Q: How to implement a login system?
A: Use sessions. When the user logins, store the session id in the
database and then compare the current session id with the one stored in
the database on every page. May also check IP; but it may break if the
user is behind proxy.
Refer:
+++++
@todo Info about other authentications , better link to the login
implementation (above links use obsolete style)
A: Use sessions. When the user logins, store the session id in the
database and then compare the current session id with the one stored in
the database on every page. May also check IP; but it may break if the
user is behind proxy.
Refer:
+++++
@todo Info about other authentications , better link to the login
implementation (above links use obsolete style)
Comment