title: Handling the Request redirects in ASP.Net MVC 2 with ajax requests
body: <p>I have developed an ASP.NET MVC2 application and in that i have a login feature implemented. </p>
  
  <p>I have other views that have ajax calls. At times, i find the ajax calls displaying the login page.</p>
  
  <p>In an attempt to get rid of this problem, i have tried to simulate the situation, but the response code that i get from my application was <code>200</code> which is <code>OK</code></p>
  
  <p>I am using ASP.Net MVC2. Why am i getting 200, where i should be actually getting a 302 server redirect for login page redirection from my current view.</p>
  
  <p>Guide me to handle this situation.</p>