Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, All.

We are currently using Checkmarx to scan our code. One of the findings is Cross Site History Manipulation.

According to my research the cause of this finding is the Response.Redirect. I tried to used javascript in redirecting my page instead and it worked. But the problem now is that whenever i call window.location.href="/KB/answers/mypage.aspx" it still continues the postback before redirecting. So it shows the login page(first page) for a second or two before redirecting to my home page.

I need some help on how to fix that. Or if you have any other way to redirect a page without using response.redirect will do. Thank you very much.
Posted
Comments
F-ES Sitecore 29-Aug-15 6:31am    
I googled "cross site history manipulation" and the very first result was a PDF that contains a description on how to prevent this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900