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


Please Help Members By Posting Answers For Below Questions

Tell me what are sql injections, how do you prevent them and what are the best practices?

504


What's the best method for sanitizing user input with php?

489


How do you sort an array in php?

523


What happens when submit button is clicked?

511


Who is the father of php?

554






What is session php?

506


Explain me what is the meaning of a persistent cookie?

481


What is the difference between php4 and php5?

565


How do you check if a variable has not been set in php?

510


what is difference between PHP4 , PHP5

1894


What are escaping characters?

536


Which operator is used to concatenate two strings in PHP?

540


What are the php functions?

540


Explain what are the different errors in php?

543


What is difference between include and include_once in php?

498