Session timeout ?

View: New views
4 Messages — Rating Filter:   Alert me  

Session timeout ?

by Kasper Hansen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I have the following code;

    WebContext webContext = WebContextFactory.get();
    HttpServletRequest httpServletRequest = webContext.getHttpServletRequest();
    HttpSession httpSession = httpServletRequest.getSession();

        int sessionTimeout = httpSession.getMaxInactiveInterval();

sessionTimeout are 180, and I can't find any place where this is
defined... Any help is greatly appreciated !

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Session timeout ?

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is set in your web applications deployment descriptor (web.xml) and
has nothing to do with DWR.

<session-config>
  <session-timeout>60</session-timeout>
</session-config>



Kasper Hansen wrote:

> Hi, I have the following code;
>
>     WebContext webContext = WebContextFactory.get();
>     HttpServletRequest httpServletRequest = webContext.getHttpServletRequest();
>     HttpSession httpSession = httpServletRequest.getSession();
>
>         int sessionTimeout = httpSession.getMaxInactiveInterval();
>
> sessionTimeout are 180, and I can't find any place where this is
> defined... Any help is greatly appreciated !
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4564 (20091102) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>  



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4564 (20091102) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Session timeout ?

by Kasper Hansen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is also what I started out with looking for... However, I've
changed all <session-timeout> values in my app, and still I get 180
out.

Since I'm using the WebContextFactory I assumed it might have
something to do with DWR, but it can be JBoss playing tricks also.

If anyone have other ideas to places I can look for this, I would be grateful.

Cheers.

On Mon, Nov 2, 2009 at 2:12 PM, David Marginian <david@...> wrote:

> This is set in your web applications deployment descriptor (web.xml) and has
> nothing to do with DWR.
>
> <session-config>
>  <session-timeout>60</session-timeout>
> </session-config>
>
>
>
> Kasper Hansen wrote:
>>
>> Hi, I have the following code;
>>
>>        WebContext webContext = WebContextFactory.get();
>>        HttpServletRequest httpServletRequest =
>> webContext.getHttpServletRequest();
>>        HttpSession httpSession = httpServletRequest.getSession();
>>
>>        int sessionTimeout = httpSession.getMaxInactiveInterval();
>>
>> sessionTimeout are 180, and I can't find any place where this is
>> defined... Any help is greatly appreciated !
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 4564 (20091102) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>>
>>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 4564 (20091102) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Session timeout ?

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You must be changing the wrong files:
http://www.jboss.org/community/wiki/HttpSessionTimeout

Look to Jboss for your answer.  DWR has nothing to do with this.

Kasper Hansen wrote:

> This is also what I started out with looking for... However, I've
> changed all <session-timeout> values in my app, and still I get 180
> out.
>
> Since I'm using the WebContextFactory I assumed it might have
> something to do with DWR, but it can be JBoss playing tricks also.
>
> If anyone have other ideas to places I can look for this, I would be grateful.
>
> Cheers.
>
> On Mon, Nov 2, 2009 at 2:12 PM, David Marginian <david@...> wrote:
>  
>> This is set in your web applications deployment descriptor (web.xml) and has
>> nothing to do with DWR.
>>
>> <session-config>
>>  <session-timeout>60</session-timeout>
>> </session-config>
>>
>>
>>
>> Kasper Hansen wrote:
>>    
>>> Hi, I have the following code;
>>>
>>>        WebContext webContext = WebContextFactory.get();
>>>        HttpServletRequest httpServletRequest =
>>> webContext.getHttpServletRequest();
>>>        HttpSession httpSession = httpServletRequest.getSession();
>>>
>>>        int sessionTimeout = httpSession.getMaxInactiveInterval();
>>>
>>> sessionTimeout are 180, and I can't find any place where this is
>>> defined... Any help is greatly appreciated !
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>>
>>>
>>> __________ Information from ESET NOD32 Antivirus, version of virus
>>> signature database 4564 (20091102) __________
>>>
>>> The message was checked by ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>>
>>>
>>>
>>>      
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus signature
>> database 4564 (20091102) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>    
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4564 (20091102) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>  



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4564 (20091102) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...