This question is locked. New answers and comments are not allowed.
HI,
I am working on a web app connected to the back end. Authentication is fine when logging in but as this is not a single page app when a new page loads the authentication is lost, obviously down to scripts reloading.
If I save the access token as a cookie, is there a way to tell the api to reuse that token?
The only other thing I can think of is using ajax to load the other pages into view so the instance is kept alive.
Any ideas would be great.
Thanks,
Daniel
I am working on a web app connected to the back end. Authentication is fine when logging in but as this is not a single page app when a new page loads the authentication is lost, obviously down to scripts reloading.
If I save the access token as a cookie, is there a way to tell the api to reuse that token?
The only other thing I can think of is using ajax to load the other pages into view so the instance is kept alive.
Any ideas would be great.
Thanks,
Daniel