How to delete all cookies using Java Script

0

Here is a simple small function to delete all cookies using java script.You have to only call to this function.You can test this using firebug console.You can only remove cookies created by JavaScript.If a cookie was create by the server, then you cannot remove it through JavaScript.

This is a another method to delete cookies.

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.