I have following lines of code to clean up application.cookies upon user sign out.
Dim sCookieName As String = “CPBrowserInstanceID”
If Application.Cookies(sCookieName) IsNot Nothing Then
This works as expected in local dev env. However, once it’s deployed to test machine, I find that the cookies stays on after user sign out.
Is there some way to ensure that i can clean up cookies in my deployed application?
Removing a cookie from the Cookies collection only removes it from the collection, not from the client. You need to set the expiration date to remove it from the client as in ASP.NET.
We’ll add a remarks section in our docs as well.
Please login first to submit.