What is the default session time in PHP and how can I
change it?
Answer Posted / sunny patel
Default session time is 1440 seconds,but we can change it
through ini_set() method.
$intTime=152;
ini_set("session.gc_maxlifetime",$intTime);
| Is This Answer Correct ? | 40 Yes | 18 No |
Post New Answer View All Answers
How to run the interactive php shell from the command line interface?
Are php variables global?
What does php mean?
What is $_ server request_method == post?
How to convert a string to uppercase in php?
What is array filter php?
How come the code works, but doesn’t for two-dimensional array of mine?
How to Retrieve the Session ID of the Current Session?
What are the new features in php 7?
What is the delimiter default in PHP?
What is use of header() function in php?
What is php and its advantages?
What is mysqli php?
Explain the difference between array_merge() and array_combine()?
What is the difference between php and core php?