web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Auto Log off / Sign Ou...
Power Pages
Unanswered

Auto Log off / Sign Out is not working in power pages

(0) ShareShare
ReportReport
Posted on by 78

Hi Team,

 

I would like to implement auto log off or sign out functionality in power pages. 

For that I have using a JQuery idle time library to detect user activities in the portal.

If user is inactive for 5 mins, we should clear the session of power page site and identity provider.

It is working fine when I am logged into power page site in browser. If I login into power page site from multiple browsers using same credentials, it is taking user to error page, when I have verified the log found below details.

Authentication/ApplicationCookie/ExpireTimeSpan: this setting will kills the session automatically, but it wont redirect user to login or some other page.


Can you please help me out with this issue?

"2024-05-31T04:59:10,Error,site-b49119a5-f7a6-408f-ac57-062c089a3d93-CAe,3a0dc8,638527283502320466,0,9760,45,"RequestData:, RequestPath:, RequestExtension:, SessionId:, UserId:, CorrelationId:4175ca3c-20f0-4af2-a002-80cf3f73a139, Elapsed:0, RequestMethod:, RequestContentType:, RequestAccept:, RequestCacheControl:, UserAgent:, HandlerName:, HandlerExecuted:False, VaryByCustom:, ExceptionMessage:A potentially dangerous Request.Path value was detected from the client (?).
System.Web.HttpException
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)

 

System.Web"

Thanks in advance.

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,471 Most Valuable Professional on at

    Can you give more details on the issue?

    • Browser A - user idle for 5 min - this redirect to logout successfully (?)
    • Browser B - user idle for 5 mins - this gets an error?
  • argeraju Profile Picture
    78 on at
    • Browser A - user idle for 5 min - this redirect to logout successfully (?) Correct
    • Browser B - user idle for 5 mins - this gets an error? Correct

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 65

#2
11manish Profile Picture

11manish 55

#3
Vish WR Profile Picture

Vish WR 29

Last 30 days Overall leaderboard