先来定义: cookie:是网站为了标识用户身份存储在本地终端的数据,其数据始终在APP请求中存在,会在服务器和浏览器中来回传递 数据大小不超过4k, 可以设置有效期,过了有效期自动删除 session Storage和local Storage 不会自动把数据发给服务器,仅在本地保存, 数据大小可 ...
分类:
其他好文 时间:
2016-09-19 19:26:41
阅读次数:
104
Cookie LocalStorage SessionStorage 示例代码二: 参考资料: MDN:https://developer.mozilla.org/zh-CN/docs/Web/API/Web_Storage_API 详说 Cookie, LocalStorage 与 Session ...
分类:
其他好文 时间:
2016-09-19 18:03:46
阅读次数:
128
dojo/store 是对已存数据的访问和存储的统一接口,dojo/store意图以一个简单、易于使用和扩展的API来,替代、集合和改善 dojo/data 和dojox/storage 。基于HTML5/W3C’s IndexedDB object store API. 原先的dojox/stor ...
html5中的Web Storage包括了两种存储方式:sessionStorage和localStorage。sessionStorage用于本地存储一个会话(session)中的数据,这些数据只有在同一个会话中的页面才能访问并且当会话结束后数据也随之销毁。因此sessionStorage不是一种 ...
分类:
其他好文 时间:
2016-09-19 11:38:21
阅读次数:
107
/tmp is meant as fast (possibly small) storage with a short time to live (TTL). Many systems clean /tmp very fast - on some systems it is even mounted ...
分类:
其他好文 时间:
2016-09-19 01:07:37
阅读次数:
177
可以用 show engines;或者show plugins;来查看mysql> show plugins;+ + + + + +| Name | Status | Type | Library | License |+ + + + + +| binlog | ACTIVE | STORAGE E ...
分类:
数据库 时间:
2016-09-14 16:42:41
阅读次数:
388
一、CONCAT(str1,str2,…) 返回结果为连接参数产生的字符串。如有任何一个参数为NULL ,则返回值为 NULL。 select concat(s_id, "--", s_bar_code) from `t_storage_order_detail` WHERE `s_sn` LIKE ...
分类:
数据库 时间:
2016-09-14 12:43:15
阅读次数:
229
总的来说,MySQL可以看成是二层架构,第一层我们通常叫做SQL Layer,在MySQL数据库系统处理底层数据之前的所有工作都是在这一层完成的,包括权限判断,sql解析,执行计划优化,query cache的处理等等;第二层就是存储引擎层,通常叫做Storage Engine Layer,也就是底 ...
分类:
数据库 时间:
2016-09-13 13:18:01
阅读次数:
210
[root@storage ~]# cat ping.ip #!/bin/bashfor ip in `seq 1 255` do { ping -c 2 192.168.220.$ip > /dev/null 2>&1 if [ $? -eq 0 ]; then echo 192.168.220. ...
分类:
其他好文 时间:
2016-09-13 11:34:58
阅读次数:
193
数据库配置: innodb_file_per_table=1 安装mysql rpm -ivh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm 修改mysql配置: [mysqld] default-storage-... ...
分类:
其他好文 时间:
2016-09-12 17:15:57
阅读次数:
152