0 9

BIT251 ยท 0 ยท 5 marks

What is cookie? Write a JavaScript code to create cookie object.

What is cookie? Write a JavaScript code to create cookie object. [5]

Web Technology IChapter 9: JavaScript Advanced FeaturesJavaScript cookies creation and usage

A cookie is a small piece of data (text information) that is stored on the user's computer by the web browser. Cookies are used to remember information about the user between web page visits or browser sessions. - Stored as name=value pairs - Can have an expiry date - Associated with a specific d...