org.springframework.webflow.conversation.NoSuchConversationException同时使Session失效

时间:2014-10-01 07:46:26

标签: jsf session primefaces spring-webflow

我正在尝试在注销时使会话无效,并且它成功使会话无效。但在那之后我收到了这个错误: -

org.springframework.webflow.conversation.NoSuchConversationException : No conversation could be found with id '2' -- perhaps this conversation has ended? 

这是我的退出代码: -

public void logout() throws IOException {
FacesContext context = FacesContext.getCurrentInstance();
HttpServletRequest request = (HttpServletRequest) context
            .getExternalContext().getRequest();
System.out.println(" Whether session is destroyed or not :"+SessionCounterListener.invalidate(sessionManager.getSessionID()));
securityDao.logoutUser(gUserLoginID, userDetailTO.getUserID());
}

SessionCounterListener是一个实现HttpSessionListener的类。

0 个答案:

没有答案