What is the default session time in PHP and how can I
change it?
Answer Posted / tarangini
default session time 1440.
we can change it by
$garbaze="14400";
ini_set(session_gc_maxlifetime,$garbaze);
| Is This Answer Correct ? | 81 Yes | 30 No |
Post New Answer View All Answers
What are sql injections, how do you prevent them and what are the best practices?
What are the encryption functions available in PHP?
Which is not a file-related function in php?
Explain what does the unset() function means?
How to include a file to a PHP page?
What is framework in php for beginners?
In php, objects are they passed by value or by reference?
Explain how can we execute a php script using command line?
Is PHP an open source software?
How can we access the data sent through the url with the get method?
Explain why would we use === instead of ==?
Which is variable cost?
Differentiate between php5 and php7?
Which is faster for or foreach php?
Which parts of php are case sensitive?