开发者

Why is the membership API adding an extra record to the aspnet_Applications table?

We are talkign ASP.NET 2.0. I have already added the applicationName attribute to my providers group in the web.config. But still, when I clear out all the tables and run the app, when I add a user,开发者_如何转开发 it adds 2 records, one with an ApplicationName= the actual application name I specified, and another with ApplicationName="/".

Now, I did notice that in forms I have the following code:

     <forms 
      loginUrl="Login.aspx" 
      timeout="20" 
      name=".ASPXAUTH" 
      defaultUrl="authenticated\home.aspx"  
      path="/"
      >
  </forms>

Is that path attribute responsible?


No, '/' is root and is always present.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜