# From \_t cookie how to get the current user id?

**URL:** <https://meta.discourse.org/t/from--t-cookie-how-to-get-the-current-user-id/70220>\
**Category:** Development\
**Created:** [Setembro 17, 2017, 1:54pm UTC](https://meta.discourse.org/t/from--t-cookie-how-to-get-the-current-user-id/70220 "2017-09-17T13:54:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![vikaskedia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vikaskedia/32/73333_2.png) [@vikaskedia](https://meta.discourse.org/u/vikaskedia)\
**Post date:** [Setembro 17, 2017, 7:33pm UTC](https://meta.discourse.org/t/from--t-cookie-how-to-get-the-current-user-id/70220/3 "2017-09-17T19:33:30Z")

</div>

> [@riking](#):
>
> Are you sure you did that last step correctly?

Thank you. it works!!

---

_[View the full topic](https://meta.discourse.org/t/from--t-cookie-how-to-get-the-current-user-id/70220)._
