<p>Craft's <code>CraftSessionId</code> cookie is simply the <a href="https://secure.php.net/manual/en/function.session-name.php" rel="nofollow">PHP Session cookie</a> renamed and by default it's terminated when the browser is closed.</p>

<p>Craft currently doesn't expose any way to alter that behavior, but you can always make a <a href="http://feedback.buildwithcraft.com" rel="nofollow">feature request</a>!</p>

CC BY-SA 3.0
2015-09-05T15:20:35.140Z
2015-09-05T15:20:35.140Z
Brad Bell
<p>I would like to extend the lifetime of the CraftSessionId cookie. Is this possible and if so, where can I change the value?</p>

<p>Thank you for your time.</p>

<session><cookies><expiration>
Is it possible to extend the lifetime of the CraftSessionId cookie?
# Is it possible to extend the lifetime of the CraftSessionId cookie?

(Asked by: username_0 on 2015-09-04)

I would like to extend the lifetime of the CraftSessionId cookie. Is this possible and if so, where can I change the value?

Thank you for your time.

**Tags:** session, cookies, expiration

---

## 1 answers

### Answer by username_1 on 2015-09-05. Score: 1 | Accepted answer

Craft's `CraftSessionId` cookie is simply the [PHP Session cookie](https://secure.php.net/manual/en/function.session-name.php) renamed and by default it's terminated when the browser is closed.

Craft currently doesn't expose any way to alter that behavior, but you can always make a [feature request](http://feedback.buildwithcraft.com)!


---

