Champion
13
Views
4
Comments
Solved
Session timeout in Windows integrated authentication scenarios
Question
Application Type
Reactive

Hello, we use Windows Integrated Authentication.

Our application always directs the user to the same "main" page on first login.

When the session times out, when the user clicks somewhere, he's automatically logged in, but..... he is always redirected to that same "main page".

Is there any way to know which page the user was on the session timeout, so I'm able to redirect the user to it again, when the WIA logs him again?


Thanks.

Solution

Nelson,
On your error handler (the security one is likely the one that is sending them to the default page post-login.) you can add an input for 'redirect to url' to forward on through the login process & input to your login script or main page that, if not null, will forward the user.

We use the function GetBookmarkableURL() which works on client actions as well as server actions.


Let us know if you have any issues!

Best,
RAD Manage

I'll have to test a bit better, but it seems to be working.

I'll mark your reply as solution, then.

@Nelson André

If our response successfully addressed your problem, kindly mark it as the solution. This will help other community members who come across this thread in the future.

Best regards, RAD Manage

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.