0 9

Web Technology I05 marksJavaScript cookies creation and usage

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

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

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...

Up nextWhat is the use of XML? Discuss the XML elements.