How to destroy cookies on page refresh

sai*_*sai 5 javascript cookies refresh

Hello I need to destroy javascript cookies on a page refresh. I need to set a new bunch of cookies on every page load which help me render the web page based on user options. Is there a method to destroy cookies on a page refresh??

Sar*_*raz 1

你需要检测页面刷新,看看:

检测页面刷新 :: 在客户端使用 JavaScript

一旦您知道这一点,您应该能够删除 cookie。