Igor Vaynberg schrieb:
even though it is session specific it still sets application threadlocal.

does not work, and does not look like it would:

public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
throws IOException, ServletException
{
 HttpServletRequest httpServletRequest = ((HttpServletRequest)request);
 HttpSession httpSession = httpServletRequest.getSession(false);
 if (httpSession != null)
 {
   ... // sorry, dont have one
 }
 else
 {
log.debug("could not set Wicket session: no http session was created yet for {},{}", httpServletRequest.getContextPath(), httpServletRequest.getServerName());
 }

 try
 {
    // go on with processing
    chain.doFilter(request, response);
 }
 finally
 {
  Session.unset(); // was not set before in this case?
 }
}


what am i missing ?

cu uwe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to