tags:

views:

13

answers:

1

How do you inspect the value assigned to session.gc_maxlifetime?
Obviousely this does not work:

echo session.gc_maxlifetime;
+1  A: 

The function you are looking for is ini_get...

echo ini_get('session.gc_maxlifetime');
ircmaxell
Thank you, that was quick!
Majid