Nothing to do today. The backend two coder explore how to tell if a request is an AJAX request (by asking the header to determine if it is the XMLHttpRequest and IE under the cloth) to understand the details are to resolve the login timeout Ajax request to the landing page of the HTML.
And then I gave a design way side most of me is a front end) as follows:
1, the page jumps the controller and the form submits the control inherits the base class A and then a has to do the login timeout the processing method of the jump.
2, all the interfaces are what they say the controller of the AJAX request inherits the function of the base class B , which contains the return status of the login timeout. The front end can do state judgment and jump when Ajax requests.
The basic can think of is that this looks plausible, still have to start from the small things!
Login time-out page jump and Ajax request problems!