Session Cache Expire

If sesio_cache_expire is not set than in how much time will it expire?
a. 1 hour,
b. 2 hours,
c. 3 hours,
d. 4 hours

Questions by tallman07

Showing Answers 1 - 1 of 1 Answers

rajanbhanot

  • Oct 12th, 2010
 

If Session Cache Expire is not set then it will expire in 180 minutes i.e. 3 hrs

If you want to set it then use the following line:
/* set the cache expire to 30 minutes */
session_cache_expire(30);
Now it will expire after 30 minutes.


By default Session Cache Expire will expire in 180 minutes i.e. 3 hrs

and if u wanna set it then use the lines below:

 session_cache_expire(30);

The above example will set the cache expire to 30 minutes

  Was this answer useful?  Yes

abc

  • Sep 12th, 2011
 

3 hrs

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions