Configure expires time of session cookie