B
Big E
I set a cookie at a login screen that sets various information. When users
are finished with the application most of them close the browser instead of
clicking logoff.
How do I clear or remove cookies when the shut down the broswer. I know how
to remove them like this:
Private Sub RemoveCookies()
If Request.QueryString("AcceptsCookies") Is Nothing Then
Response.Cookies("loginInfo").Expires = DateTime.Now.AddDays(-1)
End If
End Sub
But how do I force this when the browser closes.
Thanks.
Big E
are finished with the application most of them close the browser instead of
clicking logoff.
How do I clear or remove cookies when the shut down the broswer. I know how
to remove them like this:
Private Sub RemoveCookies()
If Request.QueryString("AcceptsCookies") Is Nothing Then
Response.Cookies("loginInfo").Expires = DateTime.Now.AddDays(-1)
End If
End Sub
But how do I force this when the browser closes.
Thanks.
Big E