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 |
Can you define an array argument as a reference type?
What’s the difference between htmlentities() and htmlspecialchars()?
What are the features of object-oriented programming in php?
What is $_ request?
Does php support inheritance?
What is Apache's configuration file typically called?
In How many ways can u represent Not equal?Give Syntax of all ways..
What are getters and setters and why are they important?
How does csrf token work?
What is difference between mysql_connect and mysqli_connect?
What does php exit do?
Explain mysql_errno()?