dahas/cookie_management 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dahas/cookie_management

Composer 安装命令:

composer require dahas/cookie_management

包简介

Easy cookie handling.

README 文档

README

A script to easily handle cookies.

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

统计信息

  • 总下载量: 37
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固