0

Does it require to explicitly set authentication cookie after authenticating user via Sitecore Authentication Manager?

if (Sitecore.Security.Authentication.AuthenticationManager.Login(
                fullUsername,
                password,
                false))
            {
                //Does it require to explicitly set set authentication cookie here?
            }

1 Answer 1

1

Seems that one does not have to authentication cookie after calling Sitecore.Security.Authentication.AuthenticationManager.Login()

FormAuthentication.SetAuthCookie will be called after successful login.

Source

https://cprakash.com/2014/09/12/sitecore-form-authentication-cookie-renewal-sliding-expiration/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.