Re: Session timeout for webapps

2019-01-09 Thread Jacques Le Roux
Thanks Girish, I saw your message after sending about creating a Jira and asking for ideas. This sounds like the ideas I was looking for and I can foresee an implementation Jacques Le 09/01/2019 à 10:11, Girish Vasmatkar a écrit : Hi Deepak By the time sessionCreated is called in an

Re: Session timeout for webapps

2019-01-09 Thread Jacques Le Roux
Hi Deepak, I'll soon create a Jira and have a look at it. All ideas are welcome ;) Jacques Le 09/01/2019 à 09:16, Deepak Nigam a écrit : Thanks, Jacques. Apart from the hardcoded thing, I am not able to override the session timeout value using tag in web.xml. On Tue, Jan 8, 2019 at 1:55 PM

Re: Session timeout for webapps

2019-01-09 Thread Girish Vasmatkar
Hi Deepak By the time sessionCreated is called in an HttpSessionListener, the session has already been created. I am sure if you try to get the HttpSession from the HttpSessionEvent object, it will have what you defined in tag. But the code is overriding the timeout using setMaxInactiveInterval

Re: Session timeout for webapps

2019-01-09 Thread Deepak Nigam
Thanks, Jacques. Apart from the hardcoded thing, I am not able to override the session timeout value using tag in web.xml. On Tue, Jan 8, 2019 at 1:55 PM Jacques Le Roux wrote: > Hi Deepak, > > You are right, it's hardcoded and should not. I have no time to go further > at the moment, but