[wildfly-dev] Registering session activity in Wildfly

Nolan, Boyd Boyd.Nolan at tylertech.com
Wed Jul 25 22:05:19 EDT 2018


Stuart,
A quick question just to verify…are you talking about the getSession method exposed on the HttpServletRequest object?

J. Boyd Nolan, P.E.
Director of Technical Development
P: 214.593.6733

www.tylertech.com<https://www.tylertech.com>

From: Nolan, Boyd
Sent: Wednesday, July 25, 2018 20:50
To: 'Stuart Douglas' <stuart.w.douglas at gmail.com>
Cc: Wildfly Dev mailing list <wildfly-dev at lists.jboss.org>
Subject: RE: [wildfly-dev] Registering session activity in Wildfly

Ah, perfect. I will give that a go. Thank you very much, Stuart.

J. Boyd Nolan, P.E.
Director of Technical Development
P: 214.593.6733

www.tylertech.com<https://www.tylertech.com>

From: Stuart Douglas <stuart.w.douglas at gmail.com<mailto:stuart.w.douglas at gmail.com>>
Sent: Wednesday, July 25, 2018 20:39
To: Nolan, Boyd <Boyd.Nolan at tylertech.com<mailto:Boyd.Nolan at tylertech.com>>
Cc: Wildfly Dev mailing list <wildfly-dev at lists.jboss.org<mailto:wildfly-dev at lists.jboss.org>>
Subject: Re: [wildfly-dev] Registering session activity in Wildfly

It will only count as an event if something calls getSession(). If say you just request a static file or some other resource that does not use the session then it will not reset the session timeout.

If you want to change this behaviour you could just write a filter that calls getSession(false) on every request.

Stuart

On Thu, Jul 26, 2018 at 11:22 AM Nolan, Boyd <Boyd.Nolan at tylertech.com<mailto:Boyd.Nolan at tylertech.com>> wrote:
Hello All,
This may not be exactly the right forum / audience to ask this question, and if so please accept my apologies in advance. That being said, I need to understand what actions or events inside of Wildfly / Undertow are recognized as valid activity relating to the session timeout. I’m battling some issues in a web application where a user is doing legitimate actions via ajax that are being processed through wildfly, but they still end up getting their session terminated even though they are legitimately active. Is it a limited class or category of session event that is recognized as activity, which should result in resetting the timer for the session timeout?

Does anyone know, or can you point me to the information that explains it?


J. Boyd Nolan, P.E.
Director of Technical Development
Tyler Technologies, Inc.

P: 214.593.6733

www.tylertech.com<https://www.tylertech.com>

[Tyler Technologies]<https://www.tylertech.com/>
_______________________________________________
wildfly-dev mailing list
wildfly-dev at lists.jboss.org<mailto:wildfly-dev at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/wildfly-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20180726/ad334d6a/attachment-0001.html 


More information about the wildfly-dev mailing list