Hi,
This seems like a FAQ but I couldn't find it. All of my pages have a
common header with sign in / sign out links. When the user clicks the
sign in link, I want to display the sign in page and then return to
the previous page after the user signs in. My sign in link looks like
this:
add(new Link("signin") {
@Override
public void onClick() {
throw new RestartResponseAtInterceptPageException(SignInPage.class);
}
...
}
This works fine unless the user has just signed out, at which point
the link leads to an expired page error. My sign out page constructor
does the following:
getSession().invalidate();
setResponsePage(pageClass);
I think I get what's wrong with this, but none of the variations I've
tried work. So how can I get the sign in link to work after signing
out?
Thanks,
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]