Re: LiveUser .. what does logout() do?
| From: | Lukas Smith | Date: | Sat, 22 May 2004 11:08:51 +0000 |
| Subject: | Re: LiveUser .. what does logout() do? | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12681@lists.php.net to get a copy of this message | ||
(was) Benedikt Laube wrote:
Hello Lukas, pear-general, Wednesday, May 19, 2004, 6:36:46 PM, you wrote: LS> (was) Benedikt Laube wrote:well there seems to be some issue here. I just tried in my local copy and I wasnt experiencing these issues. generally a logout will trigger a logout callback if you have configured it ... alternatively it will just mean that isLoggedIn() will return false from now on :-) Could you please file a bug report for this issue? regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07LS> 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.Is the functionality already in LiveUser for logging out properly?