Date: 05/12/00
- Next message: Ricardo Marques: "[phplib] Nested dynamic blocks examples or tutorials?"
- Previous message: Allen Lee: "RE: [phplib] can't find url in mailing list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm trying to put authentication on my website such that
two login options always exist:
1) The user can login with a "mini-form" found on the side of every page,
whereby, using a Login button, the user is authenticated and the same page
is re-displayed with the login form having been removed.
The user has then been authenticated for every following page they wish to
view. If the user's login failed, either a "failed login" page should be
shown or an error message on the redisplayed page.
2) If the user does not use the mini-form before trying to view a page
requiring authentication, a login page should intercept the effort, before
the desired page can be shown.
. . . . . .
Currently, I am using default authentication to alter the view of each page,
i.e., whether to display the login mini-form or the logout button. After
this, however, is it possible to transform the My_Default_Auth "auth" object
that I've saved, into a regular My_Auth, to prevent the real protected pages
from being shown to a nobody user?
Any help would be greatly appreciated.
Ande Lohla
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Ricardo Marques: "[phplib] Nested dynamic blocks examples or tutorials?"
- Previous message: Allen Lee: "RE: [phplib] can't find url in mailing list"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

