What is the default session time in PHP and how can I
change it?
Answer Posted / diwakar tiwari
default session time in PHP is 1440 seconds. if we want to
change the session time in php, then we have to change in
php.ini.
| Is This Answer Correct ? | 134 Yes | 26 No |
Post New Answer View All Answers
Why ide is recommended for use while programming with php?
What’s the difference between htmlentities() and htmlspecialchars()?
How to get length of an array in PHP?
How is it possible to remove escape characters from a string?
What are sql injections, how do you prevent them and what are the best practices?
Does exist in php?
How come the code works, but doesn’t for two-dimensional array of mine?
How is it possible to set an infinite execution time for php script?
When to use single quotes, double quotes, and backticks?
What are the differences between session and cookie?
How does api connect to database?
What is namespace in php?
What are the differences between echo and print?
What was the old name of php?
How do you pass a variable by value in php?