Hi All,
logout using IE7 works fine;
When it comes to Mozilla Firefox version-3, logout works fine but redirecting to login page does not work and browser gets hung up. When that page gets refreshed, then only it takes me to login page.
When i checked firefox error console, it was showing below error.
E_initialize is not defined.
The following is the code for logout action event,
MyEchoInstance echoInstance = (MyEchoInstance)getEchoInstance();
String servletContextPath = echoInstance.getServletContextPath() + "/controller";
ServerContext sc=(ServerContext)echoInstance.getAttribute(ServerContext.ATTRIBUTE_NAME);
HttpSession session=sc.getSession();
session.invalidate();
sc.exit(servletContextPath);
Please suggest.
Thanks,
illi
Try
Try
response.sendRedirect(request.getContextPath());
after invalidating the session
Regards,
Pawan