Date: 10/06/00
- Next message: Chris Johnson: "RE: [phplib] PHPLIB and oracle binding for >2000 characters"
- Previous message: toby cabot: "Re: [phplib] Documentation on phplib"
- Next in thread: warn: "Re: [phplib] how to _not_ force login page?"
- Reply: warn: "Re: [phplib] how to _not_ force login page?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm using "sess", "auth", "perm" and "user" in page_open(), and
am trying to do the following: Have a page _not_ automatically
call the login screen (e.g. loginform.ihtml) but rather detect
that the user isn't "logged in", and print a message accordingly
(or redirect to a "login" page).
I'm basing myself on the sample pages included in the phplib
distribution, and much of what I'm trying to do has worked,
except that when logout.php3 calls "$auth->logout()" (at the
very end) then all "auth" stuff (when called from page_open)
invokes loginform.ihtml automatically.
In other words, I don't want any protected page to simply
show the login screen (contents of loginform.ihtml) but rather
do something else: display a msg saying "You're not logged in",
or redirect automatically to another URL.
Any ideas? Thanks very much. -T.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Chris Johnson: "RE: [phplib] PHPLIB and oracle binding for >2000 characters"
- Previous message: toby cabot: "Re: [phplib] Documentation on phplib"
- Next in thread: warn: "Re: [phplib] how to _not_ force login page?"
- Reply: warn: "Re: [phplib] how to _not_ force login page?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

