how set session expire time in php?
Answers were Sorted based on User's Feedback
Answer / bharanikumar
go to php.ini , set the time limit for the session
| Is This Answer Correct ? | 9 Yes | 5 No |
Answer / prakash.matte
Question is not for ini file and not for unsetting, it is
for changing the session life time from php file.
ini_set("session.gc_maxlifetime", number_of_seconds);
We can override the php.ini settings (if we don't have
access) from php file using ini_set()
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / bharanikumar
u feel u dont have access php.ini , then go with .http ,
make changes
Post your question here also ,
www.happylife.in
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain some of the php string functions?
What is substr in php?
What is php beginner?
How to check curl is enabled or not in PHP
How can we destroy the cookie in php?
Hello Friends,I am seeking for a job in php having 2yrs. exp.Please suggest any company openings.
Explain the purpose of output buffering in php.
What is mysqli_fetch_array?
What is the difference between a session and cookies?
What is the method to execute a php script from the command line?
Write a program to display reverse of any number?
What is the purpose of php?