为什么Response.Redirect在IIS 7.5中的11以下的所有IE版本中都不起作用? [英] Why Response.Redirect is not working in all IE versions below 11 in IIS 7.5?

查看:93
本文介绍了为什么Response.Redirect在IIS 7.5中的11以下的所有IE版本中都不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么Response.Redirect在IIS 7.5中的11以下的所有IE版本中都不起作用?我正在使用VS 2003和c#。

在IIS服务器上尝试FormsAuthentaication.Redirect。在Chrome和Mozilla中,IE 11重定向在IIS 7.5上工作正常。

Why Response.Redirect is not working in all IE versions below 11 in IIS 7.5? I am using VS 2003 with c#.
Tried FormsAuthentaication.Redirect on IIS server. In chrome and mozilla and IE 11 redirection is working fine on IIS 7.5.

推荐答案

如您所知,FormsAuthentaication.Redirect创建了一个身份验证cookie,所以你需要确保在IE中启用了Cookie。



如果它不起作用,请提供有关重定向后发生的确切错误消息的更多详细信息
As you know FormsAuthentaication.Redirect creates a authentication cookie, So you need to make sure that Cookies are enabled in IE.

If it doesn't work give us more detail about the exact error message that is happening right after redirection


这篇关于为什么Response.Redirect在IIS 7.5中的11以下的所有IE版本中都不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆