The code is simple and it work fine in my development machine.
But when I upload to hosting server,
then unable to clear the cookies.
Any posibility of it?
I really can't understand. Will the OS setting affect it?
But when I upload to hosting server,
then unable to clear the cookies.
Code:
Dim obj As HttpCookie = Request.Cookies("aaa")
If Not obj Is Nothing Then
obj.Expires = DateTime.Now.AddDays(-7)
Response.Cookies.Add(obj)
End If
Any posibility of it?
I really can't understand. Will the OS setting affect it?