2015年6月28日
摘要: 1.cookie 只有客户端能够访问 session 每个客户端只能访问自己的session application 所有客户端可以共享的 2、 ServletContext web-app上下文 ServletContext application = getS... 阅读全文
posted @ 2015-06-28 23:11 _故乡的原风景 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1. Session mysession = request.getSession(true); Integer accesscount = mysession.getAttribute("accesscount"); if (accesscount==null) { accessc... 阅读全文
posted @ 2015-06-28 22:51 _故乡的原风景 阅读(93) 评论(0) 推荐(0) 编辑