R
ringi
I have an asp.net application that has more then one login page. Different logon pages are used depending on how the customers have configured the application. We are making use of the FormsAuthentication module to do most of our authentication.
I wish to be able to control the value of “loginUrl†from code, I know I can set in it the Web.Config file, however I do not what our customers to have to edit the setting in Web.Config whenever they change the configuration of our software.
I could have a “fake†login.aspx page that redirects to the true one, however that will slow down logging onto the system.
My ideal solution would be to configure FormsAuthentication from the Application_Start event in Global.aspx, any ideals on how to do this?
I think this is a more general problem, as a ISV, I do not like settings that effects the correctness of my application being in a file that is so easy for the user to mess up! The logic of my application should be compiled into my application.
Ian Ringrose
Ringi at bigfoot dot com
I wish to be able to control the value of “loginUrl†from code, I know I can set in it the Web.Config file, however I do not what our customers to have to edit the setting in Web.Config whenever they change the configuration of our software.
I could have a “fake†login.aspx page that redirects to the true one, however that will slow down logging onto the system.
My ideal solution would be to configure FormsAuthentication from the Application_Start event in Global.aspx, any ideals on how to do this?
I think this is a more general problem, as a ISV, I do not like settings that effects the correctness of my application being in a file that is so easy for the user to mess up! The logic of my application should be compiled into my application.
Ian Ringrose
Ringi at bigfoot dot com