Cookies vs session? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 1

Cookies vs session?

Cookies are used to identify users via unique id so does the session so what's the difference.

13th Nov 2018, 6:21 PM
Aniket balekundri
Aniket balekundri - avatar
2 Respostas
+ 5
Sessions can last forever also. It depends. Sessions works with cookies. As long as session cookies exists the session also exists.
13th Nov 2018, 7:36 PM
Toni Isotalo
Toni Isotalo - avatar
0
Thanks mate
13th Nov 2018, 6:28 PM
Aniket balekundri
Aniket balekundri - avatar