Skip to content
Back

Cookies

  • 0
  • Users
سيادة اللواء حناكة
15 Aug, 2023, 04:42

How I can use the cookie to know the user , is it contain any information like the access token in database or something else ?

TL;DR
You can use `account.get()` in appwrite to fetch user information. However, cookies stored locally do not provide information like access tokens. It's best to use `account.get()` for user details.
safwan
15 Aug, 2023, 06:36

When using appwrite, it's best to use account.get() to fetch user infomation. As for cookies stored locally, I can't be sure

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more