SAMCO Securities interview question

difference between session and cookie