function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KrForceKrForce 

Is there a way we can end the External WebApplication session in salesforce?

The scenario is we wanted is to integrate the extenal webapp within salesforce. for some business reasons/security of the data we are keeping the activie session for too long in external webapp. My challenge is when user closes the browser i need to terminate the session . is it possible in salesforce ? 
Andy BoettcherAndy Boettcher
Most of this question depends on how your external webapp is structured - can you send a session termination signal through JavaScript or something like that?
KrForceKrForce
Thanks for your response Andy. Im not good at JS if you you can share a code snipet will ge great helpfull. 
Andy BoettcherAndy Boettcher
No one here can write the JS you seek without more information on your external webapp.  Contact the developers of the external webapp and if it's possible they will provide that to you.