On Jan 3, 2007, at 10:18 AM, L Logue wrote:

>> Date: Wed, 3 Jan 2007 09:06:49 -0800
>> From: Scott Ferguson <[EMAIL PROTECTED]>
>>
>> On Jan 3, 2007, at 7:23 AM, L Logue wrote:
>>
>>> The 1.4 EE API specified that maxInactiveInterval is "an integer
>>> specifying the number of seconds this session remains open between
>>> client requests."  In my development resin conf , when I set the
>>> session-timeout configuration to 1 minute,  
>>> session.maxInactiveInterval
>>> came out as 60000, but it should be 60 instead.
>>
>> In what context are you seeing the 60000?  JMX?  The JMX value is in
>> milliseconds like the other JMX time values.
>
> In the web-app context. I registered an HttpSessionListener, and in
> sessionCreated(): httpSessionEvent.getSession 
> ().getMaxInactiveInterval()
> was 60000.

I just checked and getMaxInactiveInterval() is returning the correct  
value (60, for a <session-timeout>1</session-timeout>) for both 3.1  
and 3.0.

-- Scott

>
> Thanks.
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to