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

Notifications

Announcements

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,368 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard