Mahmoud Saleh
Mahmoud Saleh

Reputation: 33625

Custom session timeout handler

i am using spring security 3 and i have the session timeout set to 30 minutes, and when session timeouts the user is redirected to login page.

what i want to do is to implement a solution that if the user is in a specific page (/page/specific_page) the user gets redirected to specific page (/page/anotherloginpage) other than login page.

Upvotes: 0

Views: 1056

Answers (1)

Aleksandr M
Aleksandr M

Reputation: 24406

Maybe Session Management with invalid-session-url will help you http://static.springsource.org/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#ns-session-mgmt.

Upvotes: 1

Related Questions