Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check browser's setting
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01217371
Message ID:
01217372
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform