Comments (4)
Submit a patch?
from jquery-idletimeout.
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.
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.
Task complete. Closes issue #7.
from jquery-idletimeout.
Related Issues (20)
- Is there a way to change the timeout duration at runtime? HOT 5
- Dependency on jQuery UI for pop up. HOT 1
- Session time out counter show NAN HOT 15
- iframe inactivity detection bug HOT 2
- Accessing the $.fn.idleTimeout() after it was initialized HOT 1
- customCallback repeating call if redirectUrl: false HOT 2
- IE recursive loop crash. HOT 7
- Does not function if the page is having frameset HOT 2
- Cannot find any error handling callback HOT 2
- Session lost when there is a pending AJAX request HOT 7
- Unable to change dialogue on buttons, HOT 19
- Configuration issue - activityEvents override without mousemove HOT 7
- Error message only on IE 11 on Windows 2012 R2 - Solved HOT 12
- Releasing jquery-idleTimeout under MIT license HOT 7
- Logged out of iframes, not main page HOT 4
- IE 11 Tabs or windows not communicating when over 2 tabs. HOT 2
- IE-11 windows 10 multiple logout calls HOT 1
- How much of jquery-ui do you need to bundle? HOT 3
- Uncaught TypeError: $(...).idleTimeout is not a function HOT 1
- store.js HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-idletimeout.