一个用于所有asp.net Web应用程序的asp.net登录页面多个框架版本iis7 [英] one asp.net login page for all asp.net web applications multiple framework version iis7

查看:95
本文介绍了一个用于所有asp.net Web应用程序的asp.net登录页面多个框架版本iis7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个新的服务器2008,iis7.
在II6中,一切工作都很好,一个使用登录页面形式身份验证的登录应用程序.
一旦用户登录后,所有asp.net Web应用程序都可以识别出该用户,则框架1和2就会运行.
在IIS 7中,它仅适用于同一应用程序池下的应用程序.(相同框架)
但是如果asp.net应用程序是框架2,而登录应用程序在框架1中,则它们位于不同的应用程序池中,则用户无法登录到框架2应用程序,那么他会继续获取登录信息一次又一次地
所有应用程序池均设置为经典模式,所有web.configs中的机器密钥均相同,并且表单身份验证cookie相同.
是什么问题?

We have a new server 2008, iis 7.
In II6 everything worked great, one application for login with a login page- form authentication.
once the user logged in he''s recognized by all asp.net web applications, frame work 1 and 2.
In IIS 7 it works only with application under the same application pool.(same framework)
but if the asp.net application is frame work 2, and the login application in in frame work 1 so they are on different application pools and then the user can''t login to the frame work 2 application, he keeps on getting the login page again and again
All application pools are set to classic mode, and the machine key in all the web.configs are the same, and the form authentication cookie is the same.
What is the problem ?

推荐答案

我认为您必须将两个应用程序池都更改为您的应用程序名称,
在IIS7中,您的应用程序池将被iis拒绝使用,您可以使用它,
将应用程序池更改为为您的应用程序池定义的iis之一.
这样可以解决问题.
对不起,英语不好4.
I think you must change both application pools to your App name,
In IIS7 your application pool will defained by iis and you can use it,
change the pools of apps to one of iis defined for your app pool.
this may solve the problem.
sorry 4 bad english.


这篇关于一个用于所有asp.net Web应用程序的asp.net登录页面多个框架版本iis7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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