(int&nbsp;interval)</pre>
<div class="block">Specifies the time, in seconds, between client requests before the servlet container will invalidate this session.

 <p>
 An <tt>interval</tt> value of zero or less indicates that the session should never timeout.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>interval</code> - An integer specifying the number of seconds</dd>
</dl>
</li>
</ul>
<a name="getMaxInactiveInterval--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockLis