+ 1
why session dont last when closing the browser unlike cookis???
2 Antworten
+ 1
a session is not locally saved on your system, a cookie is saved locally
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.