Tiny Cookie manager library - Jquery

Extrembler Cookie Manager

What is a cookie?

Basically, a cookie is a small file which can handle a little piece of data on a client machine. Its value also differs from machine to machine and browser to browser. In general sense, a cookie is a piece of a file which contains tiny data on client side.

How to identifies cookie?

Each cookie carries a small amount of data in key and value pair. Let's take an example.
first name: Jhonny
last name: deep
session time: 1 h

How to manage cookie?

To manage cookie in more conveniently a tiny and free library is here.
Download → Extrembler Cookie Manager

How to use this library?

  • Create Cookie
    • ExtremblerCookieManager.createCookie("cookiename");
  • Read Cookie
    • ExtremblerCookieManager.readCookie("cookiename");
  • Set Cookie live time
    • ExtremblerCookieManager.setCookieLiveTime('');
  • Un-set Cookie Name. from current object
    • ExtremblerCookieManager.unsetCookieName('');
  • Set base url
    • ExtremblerCookieManager.setBaseUrl(url);
  • Get base url
    • ExtremblerCookieManager.getBaseUrl(url);


Benefits of a library:
  • Small size library.
  • Compatible with major browsers.
  • Open source.
  • Easy to use.
  • Tested in Magento, Wordpress and Codeignitor framework.
Please share, comment and subscribe for future posts.

Comments

Popular posts from this blog

Hosting and Goodies

Magento 2 Import Scripts

How to add product attribute value in minicart magento 2