Date: 12/11/99
- Next message: cabletvplans <email protected>: "[PHPLIB] CABLE TV"
- Previous message: Fabrizio Ermini: "RE: [PHPLIB] php3.ini file not being parsed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I've got two dummy questions:
1)
Where is my session-id stored after I've logged in to the live demo of
phplib.netuse.de?
I've turned off cookie support, I don't see any session-id in the url, and I
can't find any hidden form field containing it. Now how do they pass it on?
I want to do it like that, too!
2)
How do I switch between "reg" and "log" mode? Once I do a page_open with
"Example_Auth", it takes this "Auth"-overriding class and shows me a login
(because "log" is set as default in "auth.inc" and not overridden by
Example_Auth). If I put a
var $mode="reg";
at the beginning of my Example_Auth, it will go in reg-mode, okay. But how
do I switch?
I want "log"-mode on every page that's doing a page-open with "auth", but
after clicking a "register here" button, I want to switch in "reg"-mode. Now
how do I switch when needed, having "log" as a default? Do I have to create
another class that extends "Auth", e.g. "Register_Auth", which puts $mode to
"reg", and then create an "auth" from that class on my registration page? I
don't think that's how it's supposed to be done, although I guess this would
work.
I know I'm missing the spot in 2), so please wake me up...
Danny Adair
Danny <email protected>
-
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: cabletvplans <email protected>: "[PHPLIB] CABLE TV"
- Previous message: Fabrizio Ermini: "RE: [PHPLIB] php3.ini file not being parsed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

