Hi, i was wondering if it's possible to handle after session timeout by getting the expired session username to do some logic and based on it redirect user to specific page or it's possible to get last visited page and based on it redirect user to specific page.

I am using spring security 3.