skip to Main Content

I'm trying to use sessions to store variables in .net6, but the values are not getting stored – Asp.net

I'm trying to use sessions to store variables in .net6, I already configured program.cs but the session still not storing the values, using .net6 core with c#. using Microsoft.EntityFrameworkCore; using nsaprojeto.Data; var builder = WebApplication.CreateBuilder(args); builder.Services.AddDistributedMemoryCache(); builder.Services.AddSession(options => { options.IdleTimeout…

VIEW QUESTION
Back To Top
Search