Just pass the appropriate value to the isPersistent argument of the isPersistent methods:
SignInManager.PasswordSignInAsync(" email@id.com ", "password", isPersistent: true, shouldLockout: false);
or
SignInManager.SignInAsync(applicationUser, isPersistent: true, rememberBrowser: false);
The isPersistent argument isPersistent used to control the storage of the user's authentication cookie.
The rememberBrowser argument is used for two-factor authentication: a catchy browser can log into the system directly with a password.
source share