Skip to content

Commit 2535c5d

Browse files
author
Shane Stebner
authored
Update README.md
1 parent 37328dc commit 2535c5d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ $(function(){
6464
});
6565
```
6666

67+
###Seting the default session length in PHP (recommended)
68+
```javascript
69+
$.jTimeout({ 'timeoutAfter': <?php echo ini_get('session.gc_maxlifetime'); ?> });
70+
```
71+
6772
### How to reset the timer
6873
```javascript
6974
$.jTimeout.reset();

0 commit comments

Comments
 (0)