B
BL
if (Request.Browser.Cookies)
{
// Cookies supported
}
else
{
// Web browser not supports cookies
}
Code above will tell you does web browser supports cookie technology, but a
visitor could disable cookies in web browser's privacy settings. In that
case, Request.Browser.Cookies will still return true but your cookies will
not be saved.
what is the best way in asp.net 2.0 to check cookies disable or enabled in
web browser's privacy settings ?
Thank you.
BL
{
// Cookies supported
}
else
{
// Web browser not supports cookies
}
Code above will tell you does web browser supports cookie technology, but a
visitor could disable cookies in web browser's privacy settings. In that
case, Request.Browser.Cookies will still return true but your cookies will
not be saved.
what is the best way in asp.net 2.0 to check cookies disable or enabled in
web browser's privacy settings ?
Thank you.
BL