2007-07-25

getSession(true) or getSession(false)

关键字: session串 HttpRequestServlet HttpSession

"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.

评论
发表评论

提醒: 该博客已发表在公共论坛,博客所有留言会成为论坛回贴,留言请注意遵守论坛发贴规则

您还没有登录,请登录后发表评论

excuse
搜索本博客
最近加入圈子
存档
最新评论