Re: [Phplib-users] PHPlib release
Brought to you by:
nhruby,
richardarcher
From: Dr T. S. <ta...@sa...> - 2002-09-26 09:13:30
|
On Thu, 26 Sep 2002, Giancarlo wrote: > I think this worked somehow in session3. There are some quirks with No - I dont think this ever worked or for that matter is supposed to work That is the precise reason the cancel_login button was put there :-( I dont remember where I had abused this feature long back when I was a novice to make it work So the sequence of events is this 1) You go to a page which has Auth you are shown a login form 2) You hit the browser back button and go to a page without Auth - this is fine 3) BUT if you *now* hit a page with default_Auth you will still be shown a login form - unless you have coded a cancel_login button you are stuck :-( 4) However if you hit a default_auth page without previously going to a page with auth, default_auth will work fine BUT again if you go to a page with auth it will *NOT* show the login but tell you that you are logged in as nobody Guess it is a problem with $this->auth["uid"] in auth class getting set as "form" / "nobody" in case 3 and 4 respectively So the caveat is - DO NOT mix auth and default_auth HTH Tarique P.S. Thanks for the effort you are putting in :-) -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |