Offline/Online Website: Server Side? RRS feed

  • Question

  • User-1877975950 posted

    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


    Tuesday, November 15, 2016 10:20 AM


  • User-474980206 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 15, 2016 4:12 PM