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
Why php language is used?
What does the scope of variables mean?
Tell me how can we determine whether a php variable is an instantiated object of a certain class?
What are the methods to submit form in php?
Tell me what is the difference between unset() and unlink()?
What is the correct php command to use to catch any error messages within the code?
What is framework in php?
Is php dying 2018?
A process is identified by a unique___
What is php built on?
Is numeric in php?
What is the correct and the most two common way to start and finish a php block of code?
How we get ip address of client, previous reference page etc?
Tell us how can we display the output directly to the browser?
What is a static method php?