1 year ago
#386741
Santhosh kumar Vadlamani
Getting 302 response code in widget ajax call
I am working on a MVC application in which when have an option to request password reset email. When we got the email with the link, that link will redirect to the welcome page where we will enter Password and Confirm password and then we will click continue. Once all the validations of Welcome page passed, the user will be redirected to Dashboard page where we are loading few widgets through ajax calls. In one of our production environment these ajax calls are giving 302 http code instead of 200. Due to this behavior the widgets are loading either welcome page or login page as their content instead of original content. From the code base, no where we are redirecting to Welcome page or login page from any of the widget ajax calls. As this is happening in only production environment but not in local, it became hard to debug.
Can anyone please help guide me on how to figure out the cause of redirection.
Thanks....
c#
ajax
asp.net-mvc
widget
http-status-code-302
0 Answers
Your Answer