Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

 


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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...