in my project I am redirecting user to another page on clicking a link.It is working fine in firefox and chrome but on ie it is showing a 302 status and it not redirecting to other page.How should i resolve this issue.
<a title="Go toCompany" style="background: none!important" href='<%= Url.Action("XYZ","BuildingProject",new {id=item.Id})%>'>
Onclicking the above code ,
public ActionResult XYZ(int id)
{
Helpers.SessionHelper.SetSession(id);
BuildingProjectRepository p = new BuildingProjectRepository();
return RedirectToAction("Index");
}
and user is redirected to the index page.