cookies clean up doesn't work



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
End If

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?

thank you,






  • You must to post comments

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.


  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.