IE中的登录问题,但在asp.net应用程序中可以与chrome和FF一起正常使用 [英] Login problem in IE but works fine with chrome and FF in asp.net application

查看:102
本文介绍了IE中的登录问题,但在asp.net应用程序中可以与chrome和FF一起正常使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了可以在线运行的应用程序.
我已经使用登录控件创建了登录表单,该控件根据用户名重定向到页面.
在Firefox和谷歌浏览器中一切正常,但在IE和Safari登录页面中不会重定向.仅在回发后才清除该字段.

哪有问题... ??
请帮助

我注意到当我写

I have Created application which will run online.
I have created Login Form using Login Control Which redirect to page according to username.
It all works Fine in Firefox and google chrome but in IE and Safari Login page does not redirect. It Clears the field only after Postback.

Wht can be problem...??
plz help

I noticed that when I write

<authorization >
      <deny users="?" />
      <allow users="admin"/>

             </authorization>


它在IE中不起作用,但在FF和chrome中效果很好
但是
当我删除
deny users="?" />
然后登录也可以在IE中正常工作
但是我知道这不是一个好的解决方案.

是否为此提供任何JavaScript或任何解决方案.......... ?????????


It doesnt work in IE but works great in FF and chrome
but
when I remove
deny users="?" />
then login works fine in IE also
but i knw this is not good solution.

is there any javascript for this or any solution...................???????????

推荐答案

可能是由于我们指定它的顺序.试试这个


Could be because of the order we are specifying it. Try this


<authorization>
      <allow users="admin" />
      <deny users="?" />     
 
</authorization>


这篇关于IE中的登录问题,但在asp.net应用程序中可以与chrome和FF一起正常使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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