<div dir="ltr"><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font size="3"><font color="#000000"><font face="Calibri">Hi,</font></font></font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font color="#000000" size="3" face="Calibri"> </font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font face="Calibri"><font size="3"><font color="#000000">I have not set any<span> </span><session-timeout>
in my application. It is set only to default I guess and<span> </span>after some 1 hour or less time it expires. I
tried to set it into web.xml of my application but it does not work for me.</font></font></font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font color="#000000" size="3" face="Calibri"> </font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font size="3"><font color="#000000"><font face="Calibri">Here I request you to please guide me how can I set a
session timeout to any specified time in my application. My understanding is that
whatever be the session timeout would be set in any server configuration file, web.xml
of the application is the file that finally override all configuration and set
the time put in its <session-timeout> tag, as in the below example it shall set a session timeout of 2
minutes.</font></font></font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font color="#000000" size="3" face="Calibri"> </font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><span style="color:teal;font-family:Consolas;font-size:10pt"><</span><span style="background:silver;color:rgb(63,127,127);font-family:Consolas;font-size:10pt">session-config</span><span style="color:teal;font-family:Consolas;font-size:10pt">></span><span style="font-family:Consolas;font-size:10pt"></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><span style="color:teal;font-family:Consolas;font-size:10pt"><</span><span style="color:rgb(63,127,127);font-family:Consolas;font-size:10pt">session-timeout</span><span style="color:teal;font-family:Consolas;font-size:10pt">></span><span style="color:black;font-family:Consolas;font-size:10pt">2</span><span style="color:teal;font-family:Consolas;font-size:10pt"></</span><span style="color:rgb(63,127,127);font-family:Consolas;font-size:10pt">session-timeout</span><span style="color:teal;font-family:Consolas;font-size:10pt">></span><span style="font-family:Consolas;font-size:10pt"></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><span style="color:teal;font-family:Consolas;font-size:10pt"></</span><span style="background:silver;color:rgb(63,127,127);font-family:Consolas;font-size:10pt">session-config</span><span style="color:teal;font-family:Consolas;font-size:10pt">></span></p>
<font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><span style="color:teal;font-family:Consolas;font-size:10pt"> </span></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font size="3"><font color="#000000"><font face="Calibri">But it is not working in my case, it still remains about 1
hour.</font></font></font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font color="#000000" size="3" face="Calibri"> </font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font size="3"><font color="#000000"><font face="Calibri">Looking forward,</font></font></font></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt"><font size="3"><font color="#000000"><font face="Calibri">Rishi</font></font></font></p><font color="#000000" size="3" face="Times New Roman">
</font></div>