2 Replies Latest reply on Sep 24, 2012 7:32 AM by vishp RSS
    vishp Explorer

    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 ?

      • Logging out
        paic Collaborator

        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.

         



          • Logging out
            vishp Explorer

            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.