0

Do I want delete the time of the session delay in PHP, How I can do it?

I did it by two methods but it doesn't work.

Method 1:

$app->register(new Silex\Provider\SessionServiceProvider(), array(
  'session.storage.options' => array(
      'cookie_lifetime' => 36000,
      'cookie_httponly' => false,
      'gc_maxlifetime' => 37000
  ),
 )
);

Method 2:

$app->register(new Silex\Provider\SessionServiceProvider());
Purvik Dhorajiya
  • 4,662
  • 3
  • 34
  • 43
Nazly
  • 65
  • 10

0 Answers0