Hi. I'm implementing asp.net core 3.1. My problem is how can I specify 15 min time for authentication cookie so after that time the user should login again to enter in the program. Here is what I have tried to do that in startup.cs but it doesn't work perfect:
Member
12 Points
56 Posts
How to specify an expiration time for authentication cookie in asp.net core 3.1
Nov 09, 2020 11:33 AM|Elenorarez|LINK
Hi. I'm implementing asp.net core 3.1. My problem is how can I specify 15 min time for authentication cookie so after that time the user should login again to enter in the program. Here is what I have tried to do that in startup.cs but it doesn't work perfect:
I appreciate if anyone can tell me how to solve the issue.
All-Star
53711 Points
24038 Posts
Re: How to specify an expiration time for authentication cookie in asp.net core 3.1
Nov 09, 2020 12:35 PM|mgebhard|LINK
You're already set a sliding 15 minute timeout. Can you explain the unexpected results?