By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,654 Members | 1,842 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,654 IT Pros & Developers. It's quick & easy.

Need alternatives for ini_set() - disabled by host server

P: 2
I've learned that our web host server disables the ini_set() function. In general, is there a page that shows alternative functions? This is nor the first time I've run into this problem.

Specifically, I need an alternative for this:
Expand|Select|Wrap|Line Numbers
  1. // set the garbage collector - who will clean the session files -
  2. //   to our custom timeout
  3. ini_set('session.gc_maxlifetime', $garbage_timeout);
Mar 22 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
there are no alternative functions (why should be? and even if there were, the hoster would have them disabled as well)

you can try to make these settings through a .htaccess file.
Mar 22 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.