public static String clearLastViewedCategories(HttpServletRequest request,HttpServletResponse response){
  HttpSession session=request.getSession();
  if (session != null) {
    session.setAttribute("lastViewedCategories",FastList.newInstance());
  }
  return "success";
}

public static String clearLastViewedCategories ( HttpServletRequest request , HttpServletResponse response ) { HttpSession session = request . getSession ( ) ; if ( session != null ) { session . setAttribute ( "lastViewedCategories" , FastList . newInstance ( ) ) ; } return "success" ; }
event to clear the last viewed categories
