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

Using Session Cookies Vs. JWT for Authentication

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

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

Member of Technical Staff at www.udgama.com

Learn More
LEARN MORE ABOUT @SHREYAGHATE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Shreya Ghate HackerNoon profile picture
Shreya Ghate@shreyaghate
Member of Technical Staff at www.udgama.com

TOPICS

Languages

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