code_junkie

Extending Session Timeout in PHP

Nov 14th, 2011
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. session.gc_maxlifetime = 1440
  2.  
  3. php_value session.gc_maxlifetime 3600
  4.  
  5. ini_set('session.gc_maxlifetime', '3600');
Add Comment
Please, Sign In to add comment