cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Is there any way to set several redirect URLs after timeout?

chiwatashi
14-Alexandrite

Is there any way to set several redirect URLs after timeout?

Customer has several organizations and each organization have "Form login" pages.

Customer wants to redirect to form login pages (<servername>/Thingworx/FormLogin/<Organization Name>) after timeout occur.

Is there any way to set several redirect URLs after timeout occur with condition user/organization?

3 REPLIES 3
Aanjan
12-Amethyst
(To:chiwatashi)

Chikashi, you can redirect users to a specific URL using this REST call:

http://<server>/Thingworx/Server/*/Services/Logout?method=post&_redirectURL=<URL>

You would need to write a custom service around it though.

chiwatashi
14-Alexandrite
(To:Aanjan)

Hi Aanjan

Thanks!

If we use services, I guess we need to know the current session idle time.

I saw the "CurrentSessionInfo" and "UserManagementSubsystem", but could not find way to know the current session idle time.

The default idle timeout is "30", and I think the tomcat monitor it with JSESSION ID cookie.

Is there anyway to know the current session idle time?

paic
12-Amethyst
(To:chiwatashi)

Can not really be done based on Time Out, however if they are using SSO, with the Authenticator at least when a re-auth comes up, it should be able to pick that up and re-direct to the proper page.

Announcements


Top Tags