What is the default session time in PHP and how can I
change it?

Answer Posted / kuldeep verma

it is true that by default time of session 140 sec. and we
can change in php.ini....
it is also depend on brower. when closing the brower then
session lost. session data will be deleted after session
timeout.if connection lost. And recreate the connection then
it session continue.......

Is This Answer Correct ?    17 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In php, how to redirect from one page to another page?

517


Can I use php in html?

559


What kind of variable is age?

605


can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.

3074


Explain the casts allowed in PHP?

587






When use javascript vs php?

539


Do you know what is the use of the function 'imagetypes()'?

497


Which is better mysql or sql?

529


Which is incorrect with respect to separating php code and html?

539


How to remove leading and trailing spaces from user input values?

544


Is age an interval or ratio?

551


What is the difference between javascript and php?

530


How do you explain independent and dependent variables?

493


What is the difference between single-quoted and double-quoted strings in php?

544


What are headers in php?

529