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 1440 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 ?    28 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php case sensitive?

508


How can we enable error reporting in php?

467


Is age interval or ordinal data?

516


Explain which cryptographic extension provide generation and verification of digital signatures?

523


How can I embed a java program in php file and what changes have to be done in php.ini file?

508






How to find the position of the first occurrence of a substring in a string?

498


Do you know design patterns. List few?

530


How to receive a cookie from the browser?

554


What is compact function php?

525


what is session_set_save_handler in PHP?

609


What is local variable in php?

501


How many open modes available when a file open in PHP?

647


What is the difference between $message and $$message in php?

420


What is final class and final method in php?

543


What is the difference between client-side and server-side programming?

531