To make a session life go up to 10 minutes, is the below code correct because cannot tell:
ini_set('session.gc_maxlifetime',600);
OR
ini_set('session.gc_maxlifetime',1*10*60);
To make a session life go up to 10 minutes, is the below code correct because cannot tell:
ini_set('session.gc_maxlifetime',600);
OR
ini_set('session.gc_maxlifetime',1*10*60);
They are both correct, but the first one will run faster ( by a nanosecond )