School teacher leave homework, met with some problems, please favor some directions, front end sends an ajax request login authentication, then if the login is successful the back-end behind the owner into the session user information for other functions, but I also need the front ajax page after login successful return values to jump to other pages, is the window. The location of this line, then the session to get less than the value of the user before, I also checked about redirect led to the session to replace a new session, so they take less than the value of the session before, is there any way to let me through the js page jump while retaining the session constantly?????? Urgent urgent!!!!!!