GeekInterview.com
Series: Subject: Topic:
Question: 12 of 98

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
Asked by: tallman07 | Member Since Oct-2009 | Asked on: Sep 13th, 2010

View all questions by tallman07

Showing Answers 1 - 4 of 4 Answers
rajanbhanot

Answered On : Oct 12th, 2010

View all answers by rajanbhanot

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.


Yes  1 User has rated as useful.
  
Login to rate this answer.
afroz.alam

Answered On : Oct 12th, 2010

View all answers by afroz.alam

c. 3 hours

  
Login to rate this answer.
Sagar Awasthi

Answered On : May 5th, 2011

View all answers by Sagar Awasthi

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

  
Login to rate this answer.
abc

Answered On : Sep 12th, 2011

3 hrs

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.