# Session Expiry time

**URL:** <https://forum.rasa.com/t/session-expiry-time/12854>\
**Category:** Rasa Open Source\
**Created:** [July 12, 2019, 7:49am UTC](https://forum.rasa.com/t/session-expiry-time/12854 "2019-07-12T07:49:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chaitanya](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Chaitanya](https://forum.rasa.com/u/Chaitanya)\
**Post date:** [July 12, 2019, 7:49am UTC](https://forum.rasa.com/t/session-expiry-time/12854/1 "2019-07-12T07:49:28Z")

</div>

How can we set expiry time for session in socketio webchat ?

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [July 12, 2019, 2:50pm UTC](https://forum.rasa.com/t/session-expiry-time/12854/2 "2019-07-12T14:50:40Z")

</div>

I’m not 100% sure but you may be able to set that as a parameter when the connection is set up, see [rasa-webchat/index.js at master · mrbot-ai/rasa-webchat · GitHub](https://github.com/mrbot-ai/rasa-webchat/blob/master/src/components/Widget/index.js#L49)
