Skip to content

Releases: HTMLGuyLLC/jTimeout

Added session key for multi-session tracking

23 Jan 11:58
Compare
Choose a tag to compare
3.2.0

Version bump and correction

Added destroy() method, thanks Caleb Anderson for your contribution

17 Jun 22:18
Compare
Choose a tag to compare
3.1.0

Added destroy method - thanks Caleb Anderson

Forgot to minimize before pushing to NPM, gotta bump patch version

11 Apr 22:20
953e434
Compare
Choose a tag to compare
3.0.3

Forgot to minimize before pushing to NPM, gotta bump patch version

Block IE caching of GET request

11 Apr 22:18
ad355e6
Compare
Choose a tag to compare
3.0.2

Update jTimeout.min.js

Block jQuery 4.x until it's tested

09 Apr 23:19
f0442b2
Compare
Choose a tag to compare
Merge pull request #21 from Locutus83/master

Allow jQuery 3.x

Rewrite, fixes, and added to NPM

12 Aug 20:35
Compare
Choose a tag to compare

Rewritten to use an expiration date instead of a counter. This improves reliability, simplifies the process by removing the need to identify tabs, etc.

Had to update all links/author information. VersatilityWerks is now HTMLGuy, LLC

Added onSessionExtended callback which gets triggered after a timeout if another tab or request extends the session again.

Added to NPM

Fix to decrementing logic

12 Aug 17:31
c0a9354
Compare
Choose a tag to compare
Merge pull request #17 from ggirard/master

Change decrement logic

Minor improvements

01 Jun 20:46
Compare
Choose a tag to compare
2.1

improve structure, migrate logic to defaults, stop countdown after 0

Version 2 with new mouse-move extend session feature

16 Sep 20:44
Compare
Choose a tag to compare

Added .reset()

12 Jul 13:43
Compare
Choose a tag to compare

Added because sometimes you need a quick way to change the timer. For instance, if an AJAX request is made and it extends the user's session.

$.jTimeout.reset();

will set the timer back to the $.jTimeout.defaults.timeoutAfter param

$.jTimeout.reset(1440); 

will set the timer back to whatever time you pass (1440 in this case)

Recommended usage:

$.get('/my-ajax-page', function(data){
  $.jTimeout.reset();
  //handle ajax response
});