Re: [Phplib-users] Default Auth? 7.2d
Brought to you by:
nhruby,
richardarcher
From: <fr...@on...> - 2002-02-15 17:57:21
|
On Thu, Feb 14, 2002 at 03:47:05PM -0700, Jacob Hanson wrote: > It would seem that the "default authentication" setup is flawed because > login_if destroys authentication. Once it's destroyed, there doesn't > seem to way to get re-authenticated as "nobody". If you set it up right, clicking the "Cancel" button on the login form will get you out of the modal login state and back to some accessible page. The login form/page acts much like a modal dialog box -- the visitor should exit it via one of the form's submit buttons. As you say, while in that login state with phplib, all pages using authentication (i.e., those that specify an "auth" class in the page_open call) will demand a login. But why do you want to allow the visitor to access other pages while in the midst of login? If there is some "help" page that explains the login policy, perhaps you can avoid using an auth class at all with that page. -- Fred Yankowski fr...@on... tel: +1.630.879.1312 OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370 www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA |