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 the Community Ranking System, a fun gamification element of the PTC Community. X

Logging out

vishp
1-Visitor

Logging out

I would like to provide a link for the user to LOGOUT of a browser session.  This action would take the user to a common landing page (say, the intranet home page).  Behind the scenes, I would like to remove the session values.  Is this possible ?

2 REPLIES 2
paic
12-Amethyst
(To:vishp)

Hi Vish, take a look at webapps/Thingworx/ThingworxLogin.jsp
That is the file we use for login/logout
Similarly you can either adjust that file or provide a Link to a custom file that you create.



vishp
1-Visitor
(To:paic)

This is not working.  My understanding is that the logoutServiceURL - Thingworx/Model/ThingworxIDE.html#ThingWorx IDE, is executed asychronously and so session the browser is associated with, is not expiring.   However, if I were to run the same URL from a browser tab, it expires the session the browser window is tied to.  I need a client side script that expires the current session and redirectes to a landing page. Please let me know.

Announcements


Top Tags