Open Closed

where is the idle time out setting for Blazor web server #10890


User avatar
0
johnsonlim created

hi, What is the idle time out setting for blazor web server. If there is no setting available, what is the default idle time out?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • In an ABP Blazor Server app there isn’t an ABP-specific “idle timeout” setting for the server itself. The disconnect/idle behavior is governed by ASP.NET Core Blazor Server / SignalR circuit settings.
    • Practically, the “idle timeout” people hit in Blazor Server is: how long the server keeps a disconnected client circuit (e.g., user closes laptop / network drops). After that period, the circuit is disposed and the user must reconnect and UI state is lost.

    Where to configure it (in your Blazor Server host):

    // in ConfigureServices
    services.AddServerSideBlazor().AddCircuitOptions(options =>
    {
        // How long to keep a disconnected circuit in memory
        options.DisconnectedCircuitRetentionPeriod = TimeSpan.FromMinutes(3); // example
    });
    

    Default value

    • The default for DisconnectedCircuitRetentionPeriod is 3 minutes (Blazor Server default).

    If you meant a different “idle timeout” (e.g., authentication cookie/session expiration or ABP’s Idle Session Timeout feature in Settings), that is a different mechanism and not the Blazor Server circuit timeout.


    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Hi,

    The Account Pro module has an Idle Session Timeout setting, and it works with Blazor Server.

    You can find it in Administration > Settings > Account > Idle Session Timeout.

    • It is disabled by default.
    • After you enable it, the default timeout is 60 minutes. You can pick 1, 3, 6, 12 or 24 hours, or enter a custom value in minutes.
    • When the timeout is reached, the user sees a warning modal. If there is no response in 60 seconds, the user is logged out.
    • It doesn't apply to users who log in with Remember Me checked.

    This setting was added in ABP 9.1.0. If your app is on an older version, you need to upgrade to see it.

    https://abp.io/docs/latest/modules/account/idle-session-timeout

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 21, 2026, 06:18
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.