摘要:
1 //cookie保存路径 2 String autologin=request.getParameter("autologin"); 3 String path = request.getContextPath()+"/"; 4 if(autologin!=null&&autologin.equals("on")){ ... 阅读全文
posted @ 2016-07-27 11:51
flay
阅读(334)
评论(0)
推荐(0)
摘要:
request.getSession().setMaxInactiveInterval(-1);//session不失效 request.getSession().setMaxInactiveInterval(60*60*5);//session有效期60秒*60分*5小时 阅读全文
posted @ 2016-07-27 11:43
flay
阅读(407)
评论(0)
推荐(0)

浙公网安备 33010602011771号