Ask Your Question
3

Does Asp .Net Core Identity log out automatically after a certain period of time?

asked 2022-05-02 11:00:00 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-09-10 12:00:00 +0000

scrum gravatar image

Yes, by default, Asp .Net Core Identity logs out a user automatically after a certain period of inactivity. This period is determined by the CookieExpireTimeSpan option in the authentication cookie. By default, this is set to 14 days, but it can be configured to a different value in the application's startup code. This is a security feature designed to prevent unauthorized access to a user's account if they leave their computer unattended for an extended period of time.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-05-02 11:00:00 +0000

Seen: 12 times

Last updated: Sep 10 '21