Date: 05/28/01
- Next message: RPfeif123 <email protected>: "[phplib] pathnames instead of pictures in the database - who tried it?"
- Previous message: Klaus Seidenfaden: "Re: [phplib] URLs and session variables (newbee)"
- Maybe in reply to: Anatole: "[phplib] Authenticating using an "external" form"
- Next in thread: Anatole: "Re: [phplib] Authenticating using an "external" form"
- Reply: Anatole: "Re: [phplib] Authenticating using an "external" form"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----Oprindelig meddelelse-----
Fra: Anatole <varin <email protected>>
>So, they'll enter their username and password and be directed to the
>"protected_page.php"
>
>I start "protected_page.php" with:
>page_open(array("sess" => "groovy_Session", "auth" => "groovy_Auth"));
>
>I thought that with the variables username and password being sent that it
>would function similar to those variables being passed through the logon
>form... Alas, it is not so. Upon submission of the above form from
>general.html, I'm always greeted with the default log on page generated from
>the phpLib template.
That's because there's no $auth object yet when you call page_open(), so you need to do something before calling it. Try looking into the auth code and find out what it wants. I guess you should somehow imitate submission of the standard login form.
-- Klaus.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: RPfeif123 <email protected>: "[phplib] pathnames instead of pictures in the database - who tried it?"
- Previous message: Klaus Seidenfaden: "Re: [phplib] URLs and session variables (newbee)"
- Maybe in reply to: Anatole: "[phplib] Authenticating using an "external" form"
- Next in thread: Anatole: "Re: [phplib] Authenticating using an "external" form"
- Reply: Anatole: "Re: [phplib] Authenticating using an "external" form"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

