Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check browser's setting
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01217371
Message ID:
01217372
Views:
10
Test with the http://www.stardeveloper.com/articles/display.html?article=2001082501&page=1

>Hi All,
>I am using the following code to check if browser allows cookies:
>
>
>' determine if cookies are accepted
>        Dim objBrowseCap As HttpBrowserCapabilities
>        objBrowseCap = Request.Browser
>        If objBrowseCap.Cookies Then
>            Login1.Enabled = True
>            lblBrowserRequirementsMsg.Visible = False
>        Else
>            Login1.Enabled = False
>            lblBrowserRequirementsMsg.Visible = True
>        End If
>
>
>I change the settings in my browser (IE 6.0) to disable all cookies and objBrowseCap still returns True.
>
>What am I missing ?
>
>Thank you,
>Daniel
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform