What is the default session time in PHP and how can I
change it?
Answer Posted / amit beniwal
Default session in php is 1440 second. we can change it through
$sessLimit="14400";
ini_set(session.gc_maxlifetime,$sessLimit);
| Is This Answer Correct ? | 43 Yes | 21 No |
Post New Answer View All Answers
What is polymorphism with example in php?
Is null or empty c#?
Why does sql injection happen?
How to convert strings in hex format?
How can image properties be retrieved in php?
What is form validation in php?
Tell me what does the array operator '===' means?
How do I use isdigit function?
What is the meaning of "enctype= multipart/form-data" ?
What is difference between required and include in php?
How to make a class in php?
What is the difference between file_get_contents() and file_put_contents() in php?
Tell me what is the definition of a session?
What is the difference between get and post in php?
Why many companies are switching their current business language to php? Where php basically used?