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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
sessionscope.