2
votes

Is it possible to make the session persistent in ASP.Net Core? So far I can only find information about cookie expiration connected to ASP.Net Identity (which I am not using), or session idle timeout (which does not persist after the user closes the browser).

Where do I find options to make the session persistent?

1
You want the session to persist after you close down the browser? - Luke T O'Brien
@LukeTO'Brien, yes, that is the goal. - Giuseppe Maggiore

1 Answers

3
votes

ASP.NET Core Session is built on top of IDistributedCache so I guess you are looking for its persistent implementation (Redis, SQL Server etc.). Working with a distributed cache.