Check whether the browser supports cookies.

Chikul
Posted by Chikul under ASP.NET category on | Views : 1526
    Protected Sub btnWindows_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnWindowsOS.Click
'Check whether the browser supports cookies.
If Request.Browser.Cookies = True Then
Label1.Text &= "<br /><br />Cookies are supported "
Else
Label1.Text &= "<br /><br />Cookies are not supported "
End If
End Sub

Comments or Responses

Login to post response