Date: 09/08/00
- Next message: Stefano 'Panda' Baraldi: "[phplib] Status of PHPLib with php4"
- Previous message: Ryan McCleary: "[phplib] Duplicate Entry 'Example Session'"
- Next in thread: John Sutton: "Re: [phplib] PHPLib Page Entry Behavior"
- Reply: John Sutton: "Re: [phplib] PHPLib Page Entry Behavior"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I followed the instructions of:
>"R.B. Scholtus" <regiment <email protected>>
and added the following line to the "Example_Session":
>this line counts:
> var $allowcache = "no"; ## "passive", "no", "private", "public"
That solved a lot of problems. Probably only in browsers that have the
correct behavior though.
What I see as entry behaviors for a couple of the example pages I'd like
to have explained.
1/ When a user has a plain vanilla session, and enters the
'defauth.php3' or 'showoff.php3'(login) pages PHPLib says, "BAD DOG!
What, you think already having just a session is enough?! Your session
is not authorized for this page Nyah Nyah!"
----Actually, it says:
#Permission denied
#
#Your session a4bfd26fa88176f4f4c793123b5a4ac8 has been authenticated
with a user id of #nobody and a user name of
#(unknown).
#
#To access this page, the following permissions are required: admin.
#I won't let you access this page, because you have these permissions: .
Why not just ask the user for a login, update his session if it's
successful and give him the page he wants, or give him a "BAD DOG"
message and then return him to the page he came from (IF HTTP_RFERRER is
valid)?
Can this behavior be changed to the one I am mentioning by extending
classes?
-- ________________________________________________________________ Dennis K. Gearon (Kegley) Loyal Member Scientific Instrument Technician, School of ETM of The Oregon Institute of Technology Order of - One of USA's Best College Buys TUX 3201 Campus Drive ~ Klamath Falls, OR 97601 'v' standards Voice 1-541-885-1563 // \\ corrupters: FAX 1-541-885-1689 /( )\ ^phear^ email gearond <email protected> ^`~'^ the penguin ________________________________________________________________ Happiness is when you want to go to your job in the morning and when you want to go home in the evening. ________________________________________________________________--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Stefano 'Panda' Baraldi: "[phplib] Status of PHPLib with php4"
- Previous message: Ryan McCleary: "[phplib] Duplicate Entry 'Example Session'"
- Next in thread: John Sutton: "Re: [phplib] PHPLib Page Entry Behavior"
- Reply: John Sutton: "Re: [phplib] PHPLib Page Entry Behavior"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

