On Mon, 12 May 2014 11:04:40 -0300, Michael Gentry <mgen...@masslight.net> wrote:

Hi Sanket,

We use:

    @Inject
    private HttpServletRequest request;
...
    if (request.getSession(false) != null)
        request.getSession(false).invalidate();

However, since we also use an SSO, we have to remove all cookies associated
with the SSO, etc.

I'd do this instead:

@Inject
private Request request;

...

if (request.getSession(false) != null) {
        request.getSession(false).invalidate();
}

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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

Reply via email to