Unexpected session timeout

asked 2014-12-23 10:55:36 +0800

deepp1990 gravatar image deepp1990
1 1

In our system, we have encountered a problem where the timeout occurs randomly. It does not depend on what I am doing in my system, the system times out. That is, server side session is running but at client side, the message appears where it is written as - "Your session has expired." and it is redirected to the login page. Session timeout has been configured in web.xml as 30 minutes. Many times it displays this alert after just 5 seconds of login. There is no code in the system that explicitly fires logout.

For reference, configuration in zk.xml is mentioned below.

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-12-27 15:55:49 +0800

Darksu gravatar image Darksu
1991 1 4

Hello deepp1990,

What is the value of the system default session time-out? This is configured in the web.xml


Furthermore please refer to the following url for more information.


Best Regards,


link publish delete flag offensive edit

answered 2014-12-29 07:49:18 +0800

deepp1990 gravatar image deepp1990
1 1

Hi Darksu,

Thanks for replying.

The session timeout is configured in web.xml as :

<session-config> <session-timeout>30</session-timeout> </session-config>

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-12-23 10:55:36 +0800

Seen: 23 times

Last updated: Dec 29 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More