论坛首页 Java企业应用论坛

getSession(true) or getSession(false)

浏览 3896 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2007-07-25  

"getSession(true)" or "getSession(false)", it is a very big problem for NXFFP.

When userA using the system, userA suddenly was changed userB with userB was online.

This is the big problem. App server's? or HttpSession's? or Code's? or the God?

 getSession(true) or getSession(false) maybe is the critical cause.

Thanks Dontiz!

HttpSession getSession()
          Returns the current session associated with this request, or if the request does not have a session, creates one.
HttpSession getSession(boolean create)
          Returns the current HttpSession associated with this request or, if necessary, creates a new session for the request.

论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics