Hi Dewan I've got a problem very similar to the one you're reporting and was just about to start a similar new topic on the mailing list :)
The problem I've got is that the UnknownSessionException is thrown when the subject.logout() method is executed. For myself the issue only occurs when I use Shiro's built in session management and if I comment out the relevent lines in the shiro.ini file to allow the container to manage the sessions then the problem doesn't occur and the logout works correctly. Someone else has also reported a similar issue on the mailing list but it doesn't appear the problem has been resolved. http://shiro-user.582556.n2.nabble.com/What-might-cause-an-UnknownSessionException-td7578179.html <http://shiro-user.582556.n2.nabble.com/What-might-cause-an-UnknownSessionException-td7578179.html> It sounds like your application is not running within a container but I'd be interested to see whether you find a fix for this issue. Kind Regards Paul -- View this message in context: http://shiro-user.582556.n2.nabble.com/Shiro-throws-UnknownSessionException-when-logout-re-login-a-user-with-expired-session-tp7578800p7578801.html Sent from the Shiro User mailing list archive at Nabble.com.
