2017 © Pedro PelĂĄez
 

library cookie_management

Easy cookie handling.

image

dahas/cookie_management

Easy cookie handling.

  • Monday, December 5, 2016
  • by daHas
  • Repository
  • 1 Watchers
  • 1 Stars
  • 23 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Cookie Management

A script to easily handle cookies., (*1)

Requirements

  • jQuery

Usage

  • Include the file after the jQuery library:
<script src="[your_path]/cookie_mgmt.js" type="text/javascript"></script>
  • Make an instance:
var Cookie = new Cookie(name[, expDays, path]);
  • Adding a value to the cookie (creates cookie, if it doesnÂŽt exist):
Cookie.set(parameter, value);
  • Reading a paramter from the cookie:
Cookie.get(parameter);
  • Deleting a parameter and its value (removes the cookie, if no further parameters exist):
Cookie.clear(parameter);
  • Remove the cookie:
Cookie.remove();

License

MIT, (*2)

The Versions

05/12 2016

dev-master

9999999-dev

Easy cookie handling.

  Sources   Download

MIT

The Requires

 

05/12 2016

1.0.1

1.0.1.0

Easy cookie handling.

  Sources   Download

MIT

The Requires

 

04/12 2016

1.0.0

1.0.0.0

Easy cookie handling

  Sources   Download

MIT

The Requires