Re: [phplib] Loginformular From: Holger Blasum (blasum <email protected>)
Date: 11/28/00

On Tue, Nov 28, 2000 at 09:13:02PM +0100, Christian Thiele asked how to add a login form to each page without using sessions:

Christian,
AFAIK HTTP is a stateless protocol, so doing authentification without using sessions
(which tackle HTTP statelessness) would be absurd. For that reason, using
PHPLIB's auth module (as well as other approaches) requires sessions. Otherwise
when user A logged into your site, then user B who comes at the same time
would be automatically inherit A's login.

In case you are not yet committed to PHPLIB you also may consider using:
a) PHP4's session management
b) Apache's mod_auth
c) things such as zope.org
for alternatives.

> Außerdem soll bei einem erfolgreichen Login die setup.inc als auto_init ausgeführt werden, diese schreibt Logindaten in die DB )
In PHPLIB: simply call "include("setup.inc");" in your auth_validatelogin().

Holger Blasum, Munich

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>