10-24-2017, 05:54 AM
I have a portal that is alive 'all the time'. I've built an AJAX call that checks in with the server and collects one account field for the first account available. The response lets me know if the session ID is still valid. When not valid, I prompt the user to re-login. I'd like some kind of dedicated function here, like 'validateSession' or something, that returns the validity of the session. I think that would be a little neater than collecting a random account.