I am setting a cookie Request.Cookies("TemplateName").value
on one of my pages(page 3) of my application. Now I can navigate from page 3 to page 4 and page 2 and retain the value of the cookie. But now when I logout and login again it still has the value, how can I reset the value of the cookie to be blank "" when I start a new instance?
I tried:
Request.Cookies("TemplateName").Expires = Now
Request.Cookies("TemplateName").value = ""
On my homepage, but the cookie still retains the value on page 2 and 3.