Our product is developed in Spring 3.0 MVC.
We have used, session as follows in controllers.
@Controller
public class LoginController{
HttpSession session;
@RequestMapping(value="/index.htm",method = RequestMethod.POST)
public ModelAndView viewIndex(HttpServletRequest request){
session=request.getSession(false);
System.out.println(request.getSession(false));
System.out.println(session);
}
}
Here in Firefox, i can see both request.getSession(false)
and session
are printed with same value.
While in IE, i can see request.getSession(false)
prints a value and session
is printed as null
.
What could be the reason?
Note: I am not using any filter for session