Starts in:
2 DAYS
0 HR
48 MIN
26 SEC
Starts in:
2 D
0 H
48 M
26 S

Activities of "SevdeDuran"

In our Blazor server application, we want the user's session to end if he or she does not perform any operations for a certain period of time. For this, I wrote the following codes in the program.cs file, but it did not work. While the user's password can be changed within a certain period of time in the interface, I could not find a setting related to this. How do we do it?

Here is my codes:

builder.Services.AddAuthentication(options => { options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; })
.AddCookie(options =>
 { 
      options.ExpireTimeSpan = TimeSpan.FromMinutes(10); 
      options.SlidingExpiration = true; 
});
Showing 1 to 1 of 1 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06