Click here to Skip to main content
15,896,439 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I added one cookie, After that i am redirecting to one page, But its not redirecting to that page. Its redirecting in same page itself. This happening only with IE 10 and IE 11, Its working fine in Chrome and Mozilla, If any one have solution, Its a great help to me.
Below is my code
C#
HttpCookie sskCMT = new HttpCookie("sskCMT", Request.Cookies["kgmnId"].Value);
                Response.Cookies.Add(sskCMT);
                Response.Cookies["kgmnId"].Expires = DateTime.Now.AddDays(-1); 
 Response.Redirect("confirmation.aspx");
Posted
Updated 6-Feb-14 3:16am
v3
Comments
ZurdoDev 6-Feb-14 7:53am    
This will redirect to confirmation.aspx. If you are saying it isn't, then there is some other code somewhere that is messing with it or confirmation.aspx is not a valid path. You should use ("~/Confirmation.aspx");

it may be some setting changed in Internet Explorer. check out all seating or all setting will be reset. you can try this link more information how can change the setting.
http://windows.microsoft.com/en-in/internet-explorer/reset-ie-settings#ie=ie-11[^]

or another link is
http://support.microsoft.com/kb/923737[^]
 
Share this answer
 

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