Reputation: 1065
I am looking for a best solution on how to expire just one parameter in within the session in Spring. I have a session that expires in 3 hours, I need to add one parameter to it and expire it in 10 min.
ANy suggestions ?
Thank you
Upvotes: 0
Views: 1132
Reputation: 4640
You can create a solution where all accesses to a session go through a component, which wraps your session and provides the expiry policy you want. This component could have a session
scope.
Upvotes: 1