Select Chapter ❯
Cookies are used to store information on user device like computer, mobile phones etc. You can store create cookies, access cookies and delete cookies.
You can set as many Cookies as you want.You can also set cookies with the help of PHP.
Example of Creating Cookies
document.cookie statement will give all the cookies into allcookies variable.
Then It display all the cookies like this name=Rahul; course=BCA;
You can delete the cookie by setting that keyname and set the expires value to the passed date.
This will delete the name cookie and course cookie.❮ PreviousNext ❯