cookies in java script
a cookie is a text file in client system used to maintain sum information stores in clients ram or hard disk based on the cookie type . cookie information we can access from any page with in the application
cookie is main divided in two types 1. inmemory cookie 2. persistence cookie
destroy cookie
by using negative value we can destroy the cookies before the Expire time
<script>
document.cookie ="java=val; expries=-1";
</script>
a cookie is a text file in client system used to maintain sum information stores in clients ram or hard disk based on the cookie type . cookie information we can access from any page with in the application
cookie is main divided in two types 1. inmemory cookie 2. persistence cookie
to create a cookie
document.cookie to use the create cookie destroy cookie
by using negative value we can destroy the cookies before the Expire time
<script>
document.cookie ="java=val; expries=-1";
</script>