开发者

url referral difference between internet explorer and google chrome browser

when i am referring a page using response.redirect in my web page, it is working with Internet Explorer. However, the same is not working when I browse my website using Google Chrome. Even when I 开发者_开发问答am trying to print the values using response.write it is not working in Google Chrome. (I am using asp.net with c#)


Since Response.Redirect is server side, it shouldn't matter what browser you're using.

Response.Redirect("~/My/New/Page.aspx"); // Where the tilde (~) is the application root

or if you're redirecting outside the application, you need to use the FQDN

Response.Redirect("http://example.com");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜