mardi 5 mai 2015

How to make a session not to timeout?

I need the sessions in my web application not to timeout. They should be there until the user log out manually. It might be a bad call but I must implement it.

I tried the below in web.xml

<session-config>
        <session-timeout>
            -1
        </session-timeout>
    </session-config>

However the session is still getting time out! Any suggestions?




Aucun commentaire:

Enregistrer un commentaire