Vidyalelo
PHP · Q36

HTML Forms Handling

Programming · PHP · question 36

Q36

If the directive session.cookie_lifetime is set to 3600, the cookie will live until.

A.
3600 sec
Answer
B.
3600 min
C.
3600 hrs
D.
the browser is restarted

Answer: Option A

Solution

Answer: Option A
Solution:
The lifetime is specified in seconds, so if the cookie should live 1 hour, this directive should be set to 3600.