# Able to send/receive messages even after Session Tokens expired

**URL:** <https://community.sendbird.com/t/able-to-send-receive-messages-even-after-session-tokens-expired/940>\
**Category:** JavaScript\
**Tags:** chatsdk\
**Created:** [September 12, 2020, 3:12pm UTC](https://community.sendbird.com/t/able-to-send-receive-messages-even-after-session-tokens-expired/940 "2020-09-12T15:12:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vrunda\_Thacker](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/vrunda_thacker/32/134_2.png) [@Vrunda\_Thacker](https://community.sendbird.com/u/Vrunda_Thacker)\
**Post date:** [September 12, 2020, 3:12pm UTC](https://community.sendbird.com/t/able-to-send-receive-messages-even-after-session-tokens-expired/940/1 "2020-09-12T15:12:17Z")

</div>

I am authenticating user to Sendbird via Session tokens.  
My validation for the session token that I set is about 6 hours.  
So even after 6 hours, I am still able to send and receive messages using the same token.

However, if I disconnect and try to connect using the same token only then I get an error regarding the same.

Any pointers here would be very useful.

---

<div class="post-metadata">

**Author:** ![Jason](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/jason/32/488_2.png) [@Jason](https://community.sendbird.com/u/Jason)\
**Post date:** [September 13, 2020, 4:11am UTC](https://community.sendbird.com/t/able-to-send-receive-messages-even-after-session-tokens-expired/940/2 "2020-09-13T04:11:14Z")

</div>

Hi @Vrunda_Thacker

Great to hear from you. Please can I mention that what I you are experiencing is the expected behavior. Please note that a session token expiration means the token usage is expired not the session. I’ve attached a guide explaining more about access token, and session tokens. I’ve also includes a guide to JWT tokens.

[SendBird User Access Guide (6).pdf](https://community.sendbird.com/uploads/short-url/dLh2u0FM88BVI9N98CMnpi67ULO.pdf) (572.3 KB)  
[Authenticating Sendbird Clients with JWTs.pdf](https://community.sendbird.com/uploads/short-url/oj6G6pegV7XDUnOsLyQG8kiwIX4.pdf) (161.4 KB)
