title: Relation between sessions and cookies
body: <p>I learned about the difference between <code>SESSION</code> and <code>COOKIE</code> but I am trying to find the relation between the two. I checked on multiple sites but couldn't get a relevant answer for this and left confused. Are the cookies generated on the user's browser or the system? Some say it gets generated on the system whereas some other links said they get created on the user's browser. Also sessions get saved in the form of cookie or cookie file. Is that true?</p>