Computer Science, asked by saki7012, 1 year ago

How to set JavaScript Cookie with no expiration date?

Answers

Answered by kubhiarbaruah15
0

Here is ur help!!!!

The expires option in a JavaScript cookie is optional. The “expires” attribute is optional. If you provide this attribute with a valid date or time, then the cookie will expire on a given date or time and thereafter, the cookies' value will not be accessible.

Hope it helps u mate and if it does then let me know by marking me as brainliests

#StayHomeStaySafe.

Similar questions