This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. What's the difference between a cookie and a session? | |
A cookie is an object that is passed on with request and response so that the server can authenticate the user performing the request. I'm not 100% sure the difference but I think a session stores a secret encryption different from cookie's? | |
2. What's serialization and how does it come into play with cookies? | |
changing object into string for storage | |
3. Can a cookie be shared by more than one user? How/why? | |
No. | |
4. What would it mean to store a shopping cart in a cookie? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
![gtr] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am tanmdoan on github. | |
* I am tanmdoan (https://keybase.io/tanmdoan) on keybase. | |
* I have a public key ASBvF-XGdqIdkvuqJaZcad6ywNG9FdHw_Db_nkguA_2q5wo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vs code setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-03-24T16:40:42.947Z","extensionVersion":"v3.4.3"} |