ekino/EkinoDrupalBundle — pull request #28 by eko (2014-04-17 16:39:09+00:00)
Title: Add a session.refresh_cookie_lifetime config parameter

#### Use case
When using `DrupalSessionStorage`, the PHP `session.cookie_lifetime` parameter is well-used for calculating the session duration.

Problem is when we want the user to be disconnected after X seconds only when he is inactive.

Drupal doesn't have this feature so I've added it in this bundle.

#### How it works

I've added the following bundle configuration parameter:

```yml
ekino_drupal:
session:
refresh_cookie_lifetime: true # default value: false
```

When enabled (true), cookie lifetime will be updated with the current request time.
This is disabled by default and user can enable it when it needs.