Using Autologin in Web.Config

Top  Previous  Next

For development purposes only.  Automatically logs in using the credentials specified when running ASP.Net web forms in Visual Studio. 

 

NOTE: Autologin settings should always be set to blank in a production environment.

 

Web.Config

 

<appSettings>                

       <!-- Auto login information -->

       <add key="AutoLoginCompanyID" value="demo" />

       <add key="AutoLoginUserID" value="smith" />

       <add key="AutoLoginPassword" value="abc123" />

</appSettings>