Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
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:
  • argeraju Profile Picture
    78 on at
    Re: Auto Log off / Sign Out is not working in power pages
    • 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
  • oliver.rodrigues Profile Picture
    9,315 Most Valuable Professional on at
    Re: Auto Log off / Sign Out is not working in power pages

    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?

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >