java-express icon indicating copy to clipboard operation
java-express copied to clipboard

SessionCookies should be maintained as long as the user returns within MaxAge seconds

Open jalberto-ghub opened this issue 4 years ago • 4 comments

Do you want to request a feature or report a bug? bug What is the current behavior? The data of the SessionCookie is lost after MaxAge milliseconds If the current behavior is a bug, please provide the steps to reproduce. Set the session cookie middletier with an specific MaxAge. No matter how frequent the page is visited the cookie will change (reset after maxAge milliseconds). What is the expected behavior? The cookie should stay the same as long as you comeback within MaxAge seconds. Please mention your java and java-express version. version 0.2.1

jalberto-ghub avatar Jan 27 '21 14:01 jalberto-ghub

This issue is related with The wrong meaning of MaxAge which I filed as a separate issue.

jalberto-ghub avatar Jan 27 '21 14:01 jalberto-ghub

This is addressed in my fork of this project.

https://github.com/masecla22/java-express If you want to take a look at it.

masecla22 avatar Sep 11 '21 13:09 masecla22

Do you know when your fixes will made it through to the main repository, if at all?

jalberto-ghub avatar Sep 13 '21 15:09 jalberto-ghub

Not sure, the repo seems abandoned.

masecla22 avatar Sep 15 '21 15:09 masecla22