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
What is composer used for?
How does html form submit work?
Which is correct about mysqli and pdo?
Tell me how can we determine whether a php variable is an instantiated object of a certain class?
Explain what are psrs? Choose 1 and briefly describe it?
Explain the difference between $message and $$message?
What should be the length of variable for SHA256?
how to open & closing opening period in fico
Do csrf tokens expire?
Which is variable cost?
When do you use define() and when do you use const. What are the main differences between those two?
What are the difference between abstract class and interface in oops?
How can we know the total number of elements of Array?
Is age interval or ordinal data?
Where is php code written?