How to update HttpSession with latest Access Time

I am using spring 4, I am trying to update the latest session access. I am basically trying to ping the session manually.

I have a session id and I want to retrieve the session from the session registry update of the last access time field.

In HttpSession api I cannot find "setLastAccessedTime"

+3
java spring session


source to share


No one has answered this question yet

See similar questions:

0
Websocket chat message does not extend HttpSession

or similar:

6549
Why subtracting these two times (in 1927) gives a strange result?
3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
3073
How to efficiently iterate over each entry in a Java map?
2853
How can I convert String to int in Java?
2284
How can I fix 'android.os.NetworkOnMainThreadException'?
2171
How to determine if an array contains a specific value in Java?
420
Do sessions really violate RESTfulness?
250
How can I inject a property value into a Spring Bean that has been customized with annotations?
0
Destroy HttpSession on Spring Logout



All Articles
Loading...
X
Show
Funny
Dev
Pics