快捷导航

为什么每次请求返回的session不一样

//查看合同列表@RequestMapping(value="/goContractList",method=RequestMethod.GET)public String goContractList(HttpServletRequest request,HttpServletResponse response,ModelMap model) throws Exception{  System.out.println(request.getSession().getId());  //其余代码略  }//查看合同明细@RequestMapping(value="/viewContract",method=RequestMethod.GET)public ModelAndView viewContract(HttpServletRequest request,HttpServletResponse response) throws Exception{  //这里的sessionId与第一次的sessionId不一样,且之前session中存储的数据都不存在了  System.out.println(request.getSession().getId());  //其余代码略 }

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员2

能不能详细点  不明白啊  什么加密了  感觉还是不知道
回复

使用道具 举报

加密了。
回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP