<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" >Hi,</div>
<div dir="ltr" > </div>
<div dir="ltr" >In the 'wok' branch there isn't anything to detect if the session has timed out on the browser side. On the other hand, on master (kimchi) there is '/vms' endpoint called every 5 seconds which kinda takes care of making sure the user is indeed logged in. </div>
<div dir="ltr" > </div>
<div dir="ltr" >So I was wondering, if no one is already working on it, to introduce a '/auth' endpoint which we can poll every 5 seconds using ajax and based on the response status code we can either redirect to login page or just stay on the same page. This is useful in 'wok' because there isn't any '/vms' endpoint which existed in master (kimchi) by default. </div>
<div dir="ltr" > </div>
<div dir="ltr" >I can submit a patch for review if this sounds good so far. Also, if there is a better way of doing it, I would love to hear about it. </div>
<div dir="ltr" > </div>
<div dir="ltr" >Harshal </div></div><BR>