W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

Re: Sessions are dying ...

From: Augusto Sellhorn <asellhor@ccd.harris.com>
Date: Thu, 15 Jul 1999 10:02:23 -0400 (EDT)
Message-ID: <378DEA3C.3388253@ccd.harris.com>
To: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
CC: www-jigsaw@w3.org
Hi Benoit,

Here's what the spec says for getMaxInactiveInterval()

----------------------------------------------------------
getMaxInactiveInterval

     public int getMaxInactiveInterval();

Returns the maximum amount of time, in seconds, (...) 

-----------------------------------------------------------

However, for setMaxInactiveInterval it doesn't say anything about the
unit. The source code for the JSDK 2.1 does say it expects the value
to be in seconds.

Do you think this is a documentation/spec bug ? I'm thinking of
submitting
a doc bug since this might cause confusion amongst the different 
servlet implementations.

Anyways, glad to hear you're changing it :)

Augusto

Benoit Mahe wrote:
> 
> Well, the specification doesn't specify the unit (seconds or milliseconds), and
> with Jigsaw setMaxInactiveInterval() needs an interval in milliseconds, not
> in seconds.
> Of course, if the interval is 10 miliseconds, the session will be invalidate
> each time the sweeper will check it (by defaut: 30s).
> 
> But, I'm going to change that to be in seconds...
Received on Thursday, 15 July 1999 10:08:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT