.csp API Session Management
Hey Intersystems Community,
I have a Problem with the Session Handling in .csp.
I wrote all my Web Services in .csp-Pages and do the work for example in the OnPreHttp Method for to get some data.
After that the Web Service response is in JSON.
I call These Web Services via fetch in my react Single Page application, also Many request parallel. The react App is Rolled out as index.html.
Everything Works Fine with the session Handling via Cookie.
But when the Session is invalid After some time for example Timeout or I Delete the cookie (Session) and Then change the page After That Time I make Some request parallel, Maybe 3 times at Same Time (different Web services (article.csp, prices.csp,news.csp) it Takes also 3 licenses, because of invalid Session?
Whats the best way to fix That?
My Cache Version 2013.1 and cant still update now.