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

Session Expire

P: n/a
Hello there... I would like to know how to set the session timeout time
locally and not globally in the php.ini file.
I do that as it is ine www.php.net but doesn't seem to do anything
/***************************/
/* set the cache limiter to 'private' */

session_cache_limiter('private');
$cache_limiter = session_cache_limiter();

/* set the cache expire to 1 minutes */
session_cache_expire(1);
$cache_expire = session_cache_expire();
/******************************/
I enter 1 minute for testing purposes....
- Also It would be helpfull to let me know how I am going to verify that
the session has been expired....
- Is there any way to automatically refresh the page when the session has
expired and let the user know ?
- Is there any good site that I can find tutorials or examples for this
purpose?
< - > Thank you !!!< /- >
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.