sometimes after some minutes i have to refresh browser to get my web application with JSF work again, maybe it's a problem of web.xml
<session-config>
<session-timeout>30</session-timeout>
</session-config>
after 30 minutes the session will exist when there's no user interaction with the session. After this period the session will be invalidated. so i want that i control the session in my code (til the user logout) not with minutes in web.xml
If I understand your question, you want your session to never expire. If that's what you want you just need to set session-timeout parameter to 0. In other words change 30 to 0 in your web.xml file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With