Re: Error after logout

2011-02-17 Thread Marek Matus
Thank you very much for your help! Marek 2011/2/17 Kalle Korhonen > You are logging out the Subject, right? See this (from > > http://svn.codehaus.org/tynamo/trunk/tynamo-example-federatedaccounts/src/main/java/org/tynamo/examples/federatedaccounts/pages/Index.java > ): >Object onAction

Re: Error after logout

2011-02-17 Thread Kalle Korhonen
You are logging out the Subject, right? See this (from http://svn.codehaus.org/tynamo/trunk/tynamo-example-federatedaccounts/src/main/java/org/tynamo/examples/federatedaccounts/pages/Index.java): Object onActionFromLogout() { // Need to call this explicitly to invoke onlogou

Re: Error after logout

2011-02-17 Thread LLTYK
The problem here is the session somehow being accessed after invalidate() is called. Maybe you tried to set an @Persist'd variable or something, and the actual change didn't propagate until after you called invalidate(). I do my invalidate in an ajax request. The other solution is to call invalid