# Is it possible to close current chat room when windows close from livechat web widget

**URL:** <https://forums.rocket.chat/t/is-it-possible-to-close-current-chat-room-when-windows-close-from-livechat-web-widget/7512>\
**Category:** Community Support\
**Created:** [July 10, 2020, 7:34am UTC](https://forums.rocket.chat/t/is-it-possible-to-close-current-chat-room-when-windows-close-from-livechat-web-widget/7512 "2020-07-10T07:34:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LanceloteHK](https://avatars.discourse-cdn.com/v4/letter/l/3e96dc/32.png) [@LanceloteHK](https://forums.rocket.chat/u/LanceloteHK)\
**Post date:** [July 10, 2020, 7:34am UTC](https://forums.rocket.chat/t/is-it-possible-to-close-current-chat-room-when-windows-close-from-livechat-web-widget/7512/1 "2020-07-10T07:34:00Z")

</div>

Currently user always enter into the previous chat room when they open the widget again. Is there anyway to let the user always open a new chat room when open the widget again unless clear the cookie from the browser. Is there any way to clear the user cached info when user close the windows or end the chat room? Thank you.

---

<div class="post-metadata">

**Author:** ![Teme](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Teme](https://forums.rocket.chat/u/Teme)\
**Post date:** [August 9, 2020, 6:21am UTC](https://forums.rocket.chat/t/is-it-possible-to-close-current-chat-room-when-windows-close-from-livechat-web-widget/7512/2 "2020-08-09T06:21:48Z")

</div>

Have you found a solution for this issue yet?

---

<div class="post-metadata">

**Author:** ![plmorpheus](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/plmorpheus/32/1721_2.png) [@plmorpheus](https://forums.rocket.chat/u/plmorpheus)\
**Post date:** [August 9, 2020, 10:02am UTC](https://forums.rocket.chat/t/is-it-possible-to-close-current-chat-room-when-windows-close-from-livechat-web-widget/7512/3 "2020-08-09T10:02:57Z")

</div>

I believe that only solution for this is that agent must close the conversation. ![Zrzut ekranu 2020-08-9 o 12.00.08](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/b/b556366e88f0ca376745793d5ad209a1c201f7cf.png)

EDIT: There is a small (really small) “Options” button under input text area - there is an option to close conversation by client and then open new conversation - I just noticed it, it’s so small I haven’t seen it before 🤦‍♂️
