How to Enable or Disable browser cookies option by code(java script/.net)
-
I Want to check client brwoser setting if client browser cookie option block/disable then I want to enable it.... Thanks to all
-
I Want to check client brwoser setting if client browser cookie option block/disable then I want to enable it.... Thanks to all
look at this posts http://forums.asp.net/t/1149145.aspx[^] http://www.beansoftware.com/ASP.NET-Tutorials/Cookies-ASP.NET.aspx[^] check at the Bottom http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23483674.html[^]
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
I Want to check client brwoser setting if client browser cookie option block/disable then I want to enable it.... Thanks to all
You cannot change the browser settings to enable/disable cookie support. You can only check whether browser supports cookie or not [^]
-
look at this posts http://forums.asp.net/t/1149145.aspx[^] http://www.beansoftware.com/ASP.NET-Tutorials/Cookies-ASP.NET.aspx[^] check at the Bottom http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23483674.html[^]
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
I am using IE6 and writng fallowing code code <html><head> <title>detect browser cookies</title> <script language="javascript" type="text/javascript"> function detect() { if(navigator.cookieEnabled) { alert('Your browser has cookies enabled.'); } else { alert('Your browser has cookies disabled.'); } } </script></head> <body onload="detect();"></body> </ht but result is 'Your browser has cookies enabled' whether it is block or not
-
You cannot change the browser settings to enable/disable cookie support. You can only check whether browser supports cookie or not [^]
I am using IE6 and writng fallowing code code <html><head> <title>detect browser cookies</title> <script language="javascript" type="text/javascript"> function detect() { if(navigator.cookieEnabled) { alert('Your browser has cookies enabled.'); } else { alert('Your browser has cookies disabled.'); } } </script></head> <body onload="detect();"></body> </ht but result is 'Your browser has cookies enabled' whether it is block or not
-
I am using IE6 and writng fallowing code code <html><head> <title>detect browser cookies</title> <script language="javascript" type="text/javascript"> function detect() { if(navigator.cookieEnabled) { alert('Your browser has cookies enabled.'); } else { alert('Your browser has cookies disabled.'); } } </script></head> <body onload="detect();"></body> </ht but result is 'Your browser has cookies enabled' whether it is block or not
This is because IE6 supports Cookies... :cool:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript