Hi all.
I have this question.
I use this annotation for create session:

@SessionState(create = false)
    private User user;

and if loggin pass i do this:
public Object onSubmitFromLoginForm() throws SQLException {
        user = userService.getUser(username, password);
        if (user != null) {
            return Home.class;
        } else
            return null;
    }

If i want logout, i do this:
@Log
    public Object onActionFromLogout()
    {
        user = null;
        return Index.class;
    }


All this work good, but if i do logout and after press Browser Back Button
then previous page displayed and user is logged in, but correct behavior is
that nothind change. I mean after press to back button we can't come back to
previous page we must loggin.

Do you have ideas how i can solve my problem.

Thank

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-tp4909542p4909542.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to