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

Re: Sessions are dying ...

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Thu, 15 Jul 1999 16:05:24 +0200
Message-ID: <378DEAA4.CDF71779@sophia.inria.fr>
To: Augusto Sellhorn <asellhor@ccd.harris.com>
CC: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>, www-jigsaw@w3.org
If you need to read the source code to know such a thing,
yes there is a bug in the documentation.
BTW, thank you for the report.

Regards, Benoit.

Augusto Sellhorn wrote:

> 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...

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium   (W3C)
                    Architecture domain - Jigsaw Engineer

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------
Received on Thursday, 15 July 1999 10:05:35 GMT

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