How to disable or clear the client browser Cookies using any technology
may i think using javascript it will be usable to any techonology
How to disable or clear the client browser Cookies using any technology
may i think using javascript it will be usable to any techonology
var cookies = document.cookie.split(";");
for (var i = 0; i < cookies.length; i++)
eraseCookies(cookies[i].split("=")[0]);
Note: there is no perfect solution to remove all the cookies.You can only remove cookies created by JavaScript - if a cookie was create by the server, then you cannot remove it through JavaScript cause cookies are uniquely identified by not just by their key "name" but also their "domain" and "path" and this info is not available using document.cookie