Date: 10/29/99
- Next message: Kristian Koehntopp: "Re: [PHPLIB] making an auth that uses LDAP"
- Previous message: Massimiliano Masserelli: "Re: [PHPLIB] gpc_magic_quotes on or off?"
- In reply to: Abdul Halim: "[PHPLIB] preauth problem.."
- Next in thread: KS: "[PHPLIB] Preauth once again."
- Reply: KS: "[PHPLIB] Preauth once again."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Oct 29, 1999 at 02:36:49PM +0800, Abdul Halim wrote:
AH> I've been having this problem for quite sometime. Well, I've user
AH> authenticate to default user id (nobody) on my main page. Then I'll
AH> have a link to a protected page, which by right will automatically
AH> bring the login page. My problem is, the login page never appeared.
AH> I've put the $auth->login_if(true) right after my page_open(), but
AH> still it does not work. Could somebody help me with this?
First off, you should change the call to $auth->login_if as follows:
$auth->login_if($auth->auth["uid"] == "nobody");
Then, you should make sure that session id is propagated correctly in
your app. Try registering a var and reading it back.
Bye.
--
Massimiliano Masserelli | URL: http://www.interim.it/
Internet Images S.r.l. | Tel: +39-051-3390671
vicolo Viazzolo, 3 | Fax: +39-051-557890
40124 - Bologna - Italy |
-------------------------------------------------------------------------------
Drink Canada Dry! You might not succeed, but it *__is* fun trying.
-
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.
- Next message: Kristian Koehntopp: "Re: [PHPLIB] making an auth that uses LDAP"
- Previous message: Massimiliano Masserelli: "Re: [PHPLIB] gpc_magic_quotes on or off?"
- In reply to: Abdul Halim: "[PHPLIB] preauth problem.."
- Next in thread: KS: "[PHPLIB] Preauth once again."
- Reply: KS: "[PHPLIB] Preauth once again."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

