Re: getting a session from WOApplication dispatchRequest

2011-04-27 Thread Ramsey Gurley
Example: https://github.com/nullterminated/ponder/raw/master/ERAuth/Sources/er/auth/ERStageManager.java This allows me to maintain a user on the session without the session knowing anything about the user. I just call ERStageManager.INSTANCE.setActor(user) after a successful login and I'm done

Re: getting a session from WOApplication dispatchRequest

2011-04-27 Thread Mike Schrag
wonder posts SessionWillAwakeNotification and SessionWillSleepNotification notifications ... might be the better way to do it. you probably don't want to be doing session stuff in dispatch request ... you can do it, but you have to check out before, checkin, call super, check out, check in or yo

getting a session from WOApplication dispatchRequest

2011-04-27 Thread Michael Gargano
Hi all, I need to do something like this... public WOResponse dispatchRequest(WORequest) { session = getWOSession retrieve / modify values in session bind some thread local variables response = super.dispatchRequest() unbind the tread local var