if you are writing an offline SPA, you should not use session. you should also determine how you will handle authentication and authentication timeouts. a common approach is to use Json Web Tokens (JWT) with your ajax calls.
if you are using application cache, you will need to maintain the manifest file.
Member
64 Points
144 Posts
Offline/Online Website: Server Side?
Nov 15, 2016 10:20 AM|Stewa11|LINK
thanks to my previous thread in this forum, I am getting to grips with offline/online websites from a client point of view.
Are there specific considerations to cater for on the server side?
For example, while the 'device' is offline should Session Timeout be managed? What else?
Many thanks
Stew
All-Star
50814 Points
12078 Posts
Re: Offline/Online Website: Server Side?
Nov 15, 2016 04:12 PM|bruce (sqlwork.com)|LINK
if you are writing an offline SPA, you should not use session. you should also determine how you will handle authentication and authentication timeouts. a common approach is to use Json Web Tokens (JWT) with your ajax calls.
if you are using application cache, you will need to maintain the manifest file.