<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:-webkit-standard;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Stuart,<o:p></o:p></p>
<p class="MsoNormal">A quick question just to verify…are you talking about the getSession method exposed on the HttpServletRequest object?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">J. Boyd Nolan, P.E.</span></b><span style="font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Director of Technical Development
</span><span style="font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">P: 214.593.6733</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"><a href="https://www.tylertech.com">www.tylertech.com</a></span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Nolan, Boyd <br>
<b>Sent:</b> Wednesday, July 25, 2018 20:50<br>
<b>To:</b> 'Stuart Douglas' &lt;stuart.w.douglas@gmail.com&gt;<br>
<b>Cc:</b> Wildfly Dev mailing list &lt;wildfly-dev@lists.jboss.org&gt;<br>
<b>Subject:</b> RE: [wildfly-dev] Registering session activity in Wildfly<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Ah, perfect. I will give that a go. Thank you very much, Stuart.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">J. Boyd Nolan, P.E.</span></b><span style="font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Director of Technical Development
</span><span style="font-family:-webkit-standard;color:black"><br>
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">P: 214.593.6733</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"><a href="https://www.tylertech.com">www.tylertech.com</a></span><o:p></o:p></p>
</div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><b>From:</b> Stuart Douglas &lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt;
<br>
<b>Sent:</b> Wednesday, July 25, 2018 20:39<br>
<b>To:</b> Nolan, Boyd &lt;<a href="mailto:Boyd.Nolan@tylertech.com">Boyd.Nolan@tylertech.com</a>&gt;<br>
<b>Cc:</b> Wildfly Dev mailing list &lt;<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>&gt;<br>
<b>Subject:</b> Re: [wildfly-dev] Registering session activity in Wildfly<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">If you want to change this behaviour you could just write a filter that calls getSession(false) on every request.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Stuart<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 26, 2018 at 11:22 AM Nolan, Boyd &lt;<a href="mailto:Boyd.Nolan@tylertech.com">Boyd.Nolan@tylertech.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello All,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Does anyone know, or can you point me to the information that explains it?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
<b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">J. Boyd Nolan, P.E.</span></b><span style="font-family:-webkit-standard"><br>
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">Director of Technical Development
</span><span style="font-family:-webkit-standard"><br>
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">Tyler Technologies, Inc.&nbsp;</span><span style="font-family:-webkit-standard"><br>
<br>
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">P: 214.593.6733
</span><span style="font-family:-webkit-standard"><br>
<br>
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"><a href="https://www.tylertech.com" target="_blank">www.tylertech.com</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://www.tylertech.com/" target="_blank"><span style="font-family:-webkit-standard;color:#954F72;text-decoration:none"><img border="0" width="230" height="79" style="width:2.3958in;height:.8229in" id="m_8685527462377098315_x005f_x0000_i1025" src="cid:image001.png@01D42454.947FE710" alt="Tyler Technologies"></span></a><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>