Emerjoin / Hi-Framework-features

Java EE Framework
5 stars 1 forks source link

Ping to detect redeployments or server-session expiration #77

Open emjunior258 opened 8 years ago

emjunior258 commented 8 years ago

There should be a public URL url on the web application that receives an appId parameter and checks of it matches with the current AppId. If not, then it returns 0 otherwise returns 1. This Ping URL will be used by the websocket after reconnecting to server to know if the application was redeployed ir order to reload the page