paint-brush
Using Session Cookies Vs. JWT for Authenticationby@shreyaghate
36,225 reads
36,225 reads

Using Session Cookies Vs. JWT for Authentication

by Shreya GhateJune 8th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Using Session Cookies Vs. JWT for Authentication, we can use either session or tokens. This blog will help you understand the difference between both the authentication methods used for user authentication. In token-based authentication, we use JWTs (JWTs) for authentication. When the client receives a token, it means that the user is authenticated to perform any activity using the client. When the user logs out, that session data is deleted from the database and the server memory. When a large number of users are accessing the application once, this might be an issue when the server uses the session memory to store user data.
featured image - Using Session Cookies Vs. JWT for Authentication
Shreya Ghate HackerNoon profile picture
Shreya Ghate

Shreya Ghate

@shreyaghate

L O A D I N G
. . . comments & more!

About Author

Shreya Ghate HackerNoon profile picture
Shreya Ghate@shreyaghate

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite