Question

2
Replies
424
Views
BalamanikandanS Member since 2015 4 posts
Cognizant technology solutions
Posted: March 27, 2019
Last activity: March 28, 2019
Closed

JavaScript required to detect browser/tab close event (Pega 7.4)

Hi All,

We need a JavaScript to detect browser close event, since need to update/persist the data's to external system on window/tab close.

We tried using onbeforeunload function, but the problem here is onbeforeunload is triggering on both window/tab close and window refresh.

We are using Pega 7.4.

Thanks in Advance.

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn