Re: [PHPLIB] Self registration From: Kristian Köhntopp (kk <email protected>)
Date: 10/29/99

Massimiliano Masserelli wrote:
> When the user registered once, he must be able to log in with
> his username and password without going through the process of the
> registration again.

Set a cookie different from the session cookie, which contains
for example the username. Create an auth_preauth() function which
always returns false, so that the normal login screen appears.
In that function set $this->mode = "log", if that cookie is
already present.

Additionally, make "mode" part of Auths persistent slots.

See the current CVS for all changes, I just committed them.

Kristian

-- 
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.netuse.de/ (We have moved! Update your bookmarks!)
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.