When does a web developer use cookies and session? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When does a web developer use cookies and session?

using session and cookies

6th May 2020, 8:40 PM
Geleta Hailemariam Jemjem
Geleta Hailemariam Jemjem - avatar
2 Answers
+ 2
when logins are involved on your website. lets say someone logins on your website, then you'll create a new session. but once the user exits your website. you remove the session for the user.
6th May 2020, 11:25 PM
Shen Bapiro
Shen Bapiro - avatar
0
The main purpose of a cookie is to identify users and possibly prepare customized Web pages or to save site login information for you. When you enter a website using cookies, you may be asked to fill out a form providing personal information; like your name, email address, and interests. Note: This was totally not copyed and pasted from google: https://www.webopedia.com/amp/DidYouKnow/Internet/all_about_cookies.asp
6th May 2020, 9:49 PM
DevHaz
DevHaz - avatar