Permalink
Browse files

Enable session expiration. Currently, it's set to expire sessions aft…

…er 7 days of inactivity.
  • Loading branch information...
1 parent 7abaef3 commit 0eb9b43a3388b1de801cc4ffdfcbcc0e0d236858 @andyst andyst committed Feb 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/gallery/config/session.php
@@ -39,7 +39,7 @@
/**
* Session parameters to validate: user_agent, ip_address, expiration.
*/
-$config['validate'] = array('user_agent');
+$config['validate'] = array('user_agent', 'expiration');
/**
* Enable or disable session encryption.

3 comments on commit 0eb9b43

@mamouneyya
Contributor

If I removed this part again now, will I simply disable the user session expirations?

@andyst
Member
andyst commented on 0eb9b43 Mar 11, 2010

Better change the expiration time in your config.

@mamouneyya
Contributor

I've copied /modules/gallery/config/session.php to /application/config, then changed $config['expiration'] value there.
Is it the right way to override that?

Please sign in to comment.