How long should a session last?



How long should a session last?..

Answer / Aditya

The length of a PHP session depends on your application's requirements. By default, sessions in PHP last until the user closes their browser.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How does cookies work in php?

1 Answers  


Which is the best php framework for a beginner?

1 Answers  


Why do we use hooks?

1 Answers  


Tell me how can we display information of a variable and readable by human with php?

1 Answers  


This question is regarding version control. If two developers are committing the same php file at same time what will happen ? What error it will show (if any) ?

2 Answers   TCS,


Is key in array php?

1 Answers  


Which is better session or cookie?

1 Answers  


am fresher in php ..am finished my linux,apache,mysql,and php(LAMP) course please can any one tell openings for freshers in php ...And please tell how much i demand as a fresher in PHP field just say approximately or assumption ..? at present am staying in chennai am looking my job in chennai only or else in bangalore ... hello experts please answer this question ?

2 Answers   HCL,


Write down the benefits of php7?

1 Answers  


how to insert, update data in database

4 Answers  


What is the difference between md5(), crc32() and sha1() crypto on php?

1 Answers  


Explain PHP looping?

1 Answers  


Categories