how to set session time out from a servlet

Discussions

Web tier: servlets, JSP, Web frameworks: how to set session time out from a servlet

  1. how to set session time out from a servlet (1 messages)

    Hi,

    Please help in this regard.

    How to set session time out from a servlet.
  2. request.getSession().setMaxInactiveInterval(int seconds)

    Thanks,
    senthil.