Is it possible to redirect user to the HomePage when new session is created?

@Override
  public Session newSession(Request request, Response response)
{

//RequestCycle.get().setResponsePage(getHomePage());
//or 
//RequestCycle.get().replaceAllRequestHandlers(new
RenderPageRequestHandler(new //PageProvider(getHomePage())));
// do not work
}

The main idea is always show HomePage when user logged in to the application
and not take into account the URL which was printed to the address line



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Redirect-to-the-HomePage-on-newSession-tp4656365.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to