hi Huibert,


to expire a session use the invalidate() function:

HttpSession s = request.getSession(true);

// To expire it
s.invalidate();


You can set the session timeout in the  web.xml
        <session-config>
                <session-timeout>15</session-timeout>
        </session-config>

        Sets the timeout to 15 min.


        Hope this help



Reply via email to