Re[2]: [PEAR] LiveUser .. what does logout() do?
| From: | (was) Benedikt Laube | Date: | Fri, 21 May 2004 11:23:19 +0000 |
| Subject: | Re[2]: [PEAR] LiveUser .. what does logout() do? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12666@lists.php.net to get a copy of this message | ||
Hello Lukas, pear-general,
Wednesday, May 19, 2004, 6:36:46 PM, you wrote:
LS> (was) Benedikt Laube wrote:
>> Is the functionality already in LiveUser for logging out properly?
LS> i only have time to quickly answer half of your question ..
LS> liveuser can either accept the relevant parameters in the factory method
LS> or it can automatically attempt to pick them up from the superglobal
LS> parameters ($_REQUEST etc..). this depends on the configuration .. have
LS> a look at the login and logout options.
okay I have configured my LU options for the factory method. My
problem is, whenever I log out (which I am using the GET parameter
logout for), the page which is called only contains the html skeleton
(<html><head><body>...etc), but no content at all.
I have tried using the redirect parameter, but it seems nothing is happening at all when logging
out, no redirection
taking place or anything.
If I delete the ?logout=1 from the URL and reload the page, the
loginform appears so I guess the logout took place.
It's no use to just have a blank page when logging out - I want to at
least transport my user to the home page or even do other stuff after
he/she logged out.
Is there any way to make the logout process more verbose? I need to
know why a blank html page is generated when I log out.
Thank you in advance!
Benedikt
--
Best regards,
(was) mailto:bene@wordandsound.net