Starts in:
2 DAYS
1 HR
47 MIN
44 SEC
Starts in:
2 D
1 H
47 M
44 S

Activities of "SevdeDuran"

Thank you very much :) How will I include the auth server in the project? Can you help me with this? It is not included in our project

This is how we tried. .AddCookie("Cookies", options => { options.ExpireTimeSpan = TimeSpan.FromMinutes(3); options.SlidingExpiration = true; options.Events.OnSigningIn = cookie => { cookie.Properties.IsPersistent = true; return Task.CompletedTask; }; }) We wrote this code in program.cs in the blazor layer. context.Services.ConfigureApplicationCookie(options => { options.ExpireTimeSpan = TimeSpan.FromMinutes(3); options.SlidingExpiration = true; options.Events.OnSigningIn = cookie => { cookie.Properties.IsPersistent = true; return Task.CompletedTask; }; }); We wrote this code in blazormodule.cs. But maybe something went wrong. Can you share with us the sample project you are working on?

hi,

How did you use ExpireTimeSpan. I used it too but it didn't work. Can you help me? I need to complete this project

Nothing changes after 10 minutes of inactivity on the platform or when the page is refreshed after 10 minutes. The user's session is in progress. We want the session to end and the user to log in again.

My app's UI framework is Tired ( Blazor Server)

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 11 to 16 of 16 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06