-
Can you explain the steps that take place when a user signs in to a website?
-
Where are each of session/cookie and JWT data stored?
-
Which technology is stateful and which is stateless and what is the different between both?
-
What are the advantages and disadvantages of each of them in your opinion?
-
Overall which one would you prefer to use and why?
Created
June 2, 2022 09:11
-
-
Save halitbatur/d93379acad5d3dca19fc866ba7e19cb4 to your computer and use it in GitHub Desktop.
cookies vs jwt for auth
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sara Hamoud, Adnan Khaldar, Yaman Rajab
Can you explain the steps that take place when a user signs in to a website.
Where are each of session/cookie and JWT data stored?
Which technology is stateful and which is stateless, and what is the difference between both?
HTTP, DNS, and UDP use stateless protocol.
FTP (File Transfer Protocol), and Telnet use stateful protocol.
What are the advantages and disadvantages of each of them in your opinion?
Stateless:
Advantages:
Disadvantages:
Stateful :
Advantages:
Disadvantages
Overall which one would you prefer to use and why?
Regarding the advantages of stateless and the disadvantages of stateful protocol, I would choose the stateless protocol.