Skip to content

Blazor .NET 8 Automatic Logout on Plesk Hosting #60533

Open
@MahdiElahi

Description

Hello everyone,

I have created a Blazor .NET 8 project and deployed it on a Plesk hosting panel. However, I’m facing an issue where the user is automatically logged out after 40–50 seconds.

This problem does not occur on localhost, only on the hosted version.

I have tried modifying session and cookie timeout settings in Program.cs, but the issue persists.

Here is my Program.cs configuration:
GitHub Link

Does Blazor require any specific settings on Plesk? Or should I make any additional changes?

Any help would be appreciated. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.area-security

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions