Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session duration for webservice
#20
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.
Reply


Messages In This Thread
RE: Session duration for webservice - Guido1982 - 10-24-2017, 05:54 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)