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.