formsauthentication
How to use FormsAuthentication with logins stored in SQL Server DB table?
I am making a new web application in ASP.NET (in C#) using FormsAuthentication for the login. A standard FormsAuthentication setup is in place currently, with usernames and passwords specified in the[详细]
2023-04-07 12:06 分类:问答Prevent a page or handler from updating the FormsAuthentication ticket
I have several apps on a single domain that share the formsauthentication ticket for single sing-on. We also have javascript on each page that will warn the user 2 minutes prior to his session expirat[详细]
2023-03-21 22:48 分类:问答FormsAuthentication.SignOut throwing NullReferenceException
This problem seems related to this post, but I was not able to infer a solution from the thread. I noticed this code in an application I inherited (after noting in a log file that an exception was be[详细]
2023-03-17 16:06 分类:问答Can I Create an HttpHandler that never participates in Forms Authentication?
I\'ve created a logout handler that is registered to Logout.aspx in my web.config. I want this to be able to be run from any path. It works great. My master page registers a client script function tha[详细]
2023-03-14 13:36 分类:问答sqlrole manager dynamically add a connection string and or provider
how can I add a connection string dynamically to role manager? I\'m using asp.net mvc 3 with forms authentication and since this is SAAS app the connection string for each client will change dynamica[详细]
2023-02-20 03:27 分类:问答How do I workaround this SSRS authentication exception?
I am trying to implement some custom security code into SSRS 2008 (not R2) to allow for Forms Authentication instead of Windows Authentication. I have based my solution on the Microsoft sample code an[详细]
2023-02-15 19:37 分类:问答FormsAuthenticationTicket.expiration v web.config value timeout
This is an MVC2 website, I am having a problem with a FormsAuthentication ticket. A user timeouts after 30 minutes cannot re-login.开发者_运维技巧 During testing, the DateTime.Now.AddMinutes(30) value[详细]
2023-02-14 15:33 分类:问答Best way of changing authentication mechanism with ASP.NET MVC
I need to read, generate and keep updated an authentication cookie that is different from formsauthentication one.[详细]
2023-02-12 04:58 分类:问答Using forms authentication, how do I handle redirection to a different subdomaim
I have multiple sub-domains that use forms authentication.Once a user logs in, they are fine going to any of the other sub-domains.[详细]
2023-02-06 21:30 分类:问答Forms Authentication and authentication cookie not persisting
aware that there are a lot of questions relating to Forms Authentication and the persistence of cookies, but having spent most of a day delving around, I\'m still having difficulties.[详细]
2023-02-05 10:40 分类:问答