Git Product home page Git Product logo

Comments (4)

JillElaine avatar JillElaine commented on July 20, 2024

Submit a patch?

from jquery-idletimeout.

rharding98 avatar rharding98 commented on July 20, 2024

I also wanted to let you know that your plugin works with nbubna/store (store2) https://github.com/nbubna/store
I just had to remove the store.enabled check. I was forced to do this because we are already using store2 on our site and the APIs overlap.

Thanks again for your hard work ☺

From: JillElaine [mailto:[email protected]]
Sent: Thursday, May 01, 2014 11:25 AM
To: JillElaine/jquery-idleTimeout
Cc: Roy Harding
Subject: Re: [jquery-idleTimeout] ping server when user is chooses to stay logged in. (#7)

Patch accepted. :-)


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-41876532.

from jquery-idletimeout.

JillElaine avatar JillElaine commented on July 20, 2024

As to the sessionKeepAlive timer, if I understand correctly, you suggest that the sessionKeepAlive ping be sent to the server whenever the 'Stay logged in' function runs (Click of the button on the Warning dialog). The problem is that, if the user is active, the Warning dialog will not appear, and the 'Stay logged in' function will never run.

If a sessionKeepAlive ping is never sent to the server, the session MAY timeout on the server, unbeknownst to the user and unbeknownst the javascript running on the client's browser. Session server-side timeouts are rather unpredictable: garbage collection of 'old' sessions happens randomly since it's resource intensive.

Having said that, it does make sense to set the default sessionKeepAlive timer to something rather large, like 10 mins. Some default server session timeouts: Tomcat=30 mins, MS IIS=20 mins.

And will also update the documentation in regards to the sessionKeepAlive pinger.

from jquery-idletimeout.

JillElaine avatar JillElaine commented on July 20, 2024

Task complete. Closes issue #7.

from jquery-idletimeout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.