摘要: nginx可以使用各平台的默认包来安装,本文是介绍使用源码编译安装,包括具体的编译参数信息。正式开始前,编译环境gcc g++ 开发库之类的需要提前装好,这里默认你已经装好。ububtu平台编译环境可以使用以下指令apt-get install build-essentialapt-get inst... 阅读全文
posted @ 2015-07-15 18:57 big-wolf 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Session另2中实现方式,1、Cookie2、URL重写。 session创建的时间是:request.getSession(true); 阅读全文
posted @ 2015-07-15 11:00 big-wolf 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Cookie分为2中,一种为本地Cookie,需要设置最大有效时间,超过这个时间自动被删除;另一种为窗口Cookie,没有设置最大有效时间。文本Cookie是服务端返回给客户端的文本,客户端写在本地磁盘上的一个txt。Cookie格式为键值对形式存在。 客户端可以阻止Cookie的写入。Cooki... 阅读全文
posted @ 2015-07-15 08:56 big-wolf 阅读(146) 评论(0) 推荐(1) 编辑