Hi
I am creating a custom login page (web page). I am using following piece of code for windows authentication.
lfApplication = new LFApplication(); lfServer = lfApplication.GetServerByName(serverName) as LFServer; lfRepository = lfServer.GetDatabaseByName(repositoryName) as LFDatabase; lfConnection = new LFConnection(); lfConnection.Shared = windowsUser; lfConnection.Create(lfRepository);
Now, I want to use Auto login feature. I am having a check box for this at my login page name "Auto login'. When user checks this check box first time, then user should not be prompted to login page henceforth. Instead should be windows authentication should be automatically done and redirected to home page.
I am not able to find any API for this. Do we need to save this auto login information as attribute to a user and read it at login page load and act accordingly.
Please suggest.
Thanks
Sanjay