There are no disadvantages. That just means the session won't expire. How would there be a "better" way?
Session Timeout/Expiry in java
-
04-10-2022 - |
Question
Is it advisable to set
<session-config>
<session-timeout>-1</session-timeout>
</session-config>
what are the dis advantages of doing so ??? Is there any better way to make sure the session never expires ???
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow