表单身份验证-在Google Chrome和Firefox中不起作用 [英] Forms Authentication - not working in Google chrome and firefox

查看:101
本文介绍了表单身份验证-在Google Chrome和Firefox中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我对我的网站使用了表单身份验证.在IE中,itts可以正常工作.

我将解释我被构造的情况.

请执行以下操作:

1.打开登录页面.
2.输入凭据,它将被重定向到请求的页面.
3.复制网址,然后尝试在新的浏览器(google chrome/firefox)中打开它.
4.它允许打开页面而不重定向到登录页面.

如何解决这个错误?我也尝试调试,但是在谷歌浏览器和Firefox中,会话值未清除,而在IE中,会话值已清除.

请帮帮我....非常紧急.


问候,
Jyo.

Hi,

I used forms authentication for my website. In IE itts working fine.

I will the explain the scenario where I got structed.

Do the following:

1. open the login page.
2. Enter the credentials, it will be redirected to the requested page.
3. Copy the URL and try to open it in the new browser(google chrome/ firefox).
4. Its allowing to open the page without redirecting to the login page.

How to fix this bug? I tried to debug also, the session values are not clearing in Google chrome & firefox whereas in IE, the session values are clearing.

Please help me out.... Its very urgent.


Regards,
Jyo.

推荐答案

这不是bug,而是功能.
Chrome和Firefox(以及大多数浏览器)会维护会话.这是因为它们是单进程浏览器(新窗口不会创建新进程). IE是一种多进程浏览器,新窗口将启动新进程.如果您打开多个选项卡而不是多个窗口,则会在IE中发现相同的行为.
It''s not a bug, it''s a feature.
Chrome and Firefox (and most browsers) maintain the session. This is because they are single process browsers (new windows do not create a new process). IE is a multi-process browser, new windows start a new process. You''ll find the same behaviour in IE if you open multiple tabs, instead of multiple windows.


这篇关于表单身份验证-在Google Chrome和Firefox中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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