I am here to find some expert tips about handling session in an MVC application.
Basically, what should be done to avoid null session crashes that log errors in event log in a request? (Normal and Ajax) In a normal request, i tend to redirect the user to a specific page telling him the session went out but is that ok? Also, how would you handle a null session in an ajax call knowing you cant simply redirect the user (without having to manually develop something on the client side to handle it)?
The problem is that it generate errors in the event log each time that happen. With enough charge, this lead to a lots of errors.