I don't know why i'm getting this error... All i'm trying to do is basically create a logout button... its a for that shows the user some texts, 'removes' their cookie, and redirects them, though I'm getting this error on the below line (in red):
Response.Cookies("BusinessMeetings" = ""
any help would be appreciated... thanks.
Code:
' Logout.aspx.vb
'
Imports System
Imports System.Web
Imports System.Web.HttpCookie
Namespace BMC
Public Class Logout
Inherits System.Web.UI.Page
Public Sub Page_Load(Sender as Object, e as EventArgs)
'delete cookies
Code:
'wait for a few seconds
System.Threading.Thread.Sleep(10000000)
'redirect
Response.Redirect("[URL unfurl="true"]http://www.businessmeetings.com")[/URL]
End Sub
End Class
End Namespace
any help would be appreciated... thanks.