Reconnect to restarted application server

asked 2021-03-03 00:12:00 +0800

agsiegel gravatar image agsiegel
6 1

updated 2021-03-08 11:02:28 +0800

cor3000 gravatar image cor3000
6280 2 7

I have a timer set on my app to refresh the client every few minutes. However, if I kill the application server and restart, the client is no longer able to refresh. Is there any way to force the client to create a new session?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2021-03-08 18:57:49 +0800

MDuchemin gravatar image MDuchemin
2375 1 6
ZK Team

I think it depends what you mean by "refresh the client".

If you are doing a navigation event by setting the browser location, then whether you have an exisiting session or not shouldn't matter. If the session no longer exists at server side, server will create a new one.

If you mean that you have a ZK timer that does a ZK event, you should see errors in the console log when the server is no longer available, and a popup to prompt the user to refresh the page due to "server unavailable".

link publish delete flag offensive edit

answered 2021-03-12 22:36:10 +0800

katepitters gravatar image katepitters

I think you have problems with your webserver.

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: 2021-03-03 00:12:00 +0800

Seen: 15 times

Last updated: Mar 12 '21

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