RE: user is nulled out on login attempt
"Shaw, Nathan (HQ-LD070)[InDyne, Inc]" <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
I assume you mean this? action.sessionvalidator=sessionvalidator.TemplateSessionValidator But, it seems to me that the role of the SessionValidator is to ensure that a user IS NOT logged in and send them somewhere if they are not. I am trying to see if the user IS logged in and ,if they are, NOT re-log them in. Maybe I am mis-interpreting the docs? --Nathan -----Original Message----- From: Thomas Vandahl [mailto:[email protected]] Sent: Thu 1/31/2008 3:01 PM To: Turbine Users List Subject: Re: user is nulled out on login attempt Shaw, Nathan (HQ-LD070)[InDyne, Inc] wrote: > I want to make it so if the user is already logged in, it does not log them in again. However, when I test the User returned in the doperform() method in my login action, it is always NULL. It appears that something up the chain is wiping the User object and the session. This is exactly the task of the SessionValidator. Which SessionValidator do you use? Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]