why session dont last when closing the browser unlike cookis??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

why session dont last when closing the browser unlike cookis???

14th Oct 2016, 4:28 PM
Cliff James
Cliff James - avatar
2 Answers
+ 1
a session is not locally saved on your system, a cookie is saved locally
15th Oct 2016, 11:02 AM
MartijnregaJ
MartijnregaJ - avatar
0
Session is for a one time use. It doesn't store information on your computer. It is used for sensitive data like card transactions, passwords, personal information, etc. If you're not going to work with sensitive information, the use of a cookie is good enough.
14th Nov 2016, 9:26 PM
Edwin Martinez
Edwin Martinez - avatar