You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Implement Login-Logout on Customer Portal

Question
8
Views
0
Comments
edited Aug 20, 2021 7:00AM in Customer Portal

Summary

Implement Login-Logout on Customer Portal

Content

Hi,

 

We have a requirement  where users(these users are stored in a  custom object & are not contacts) login into CP and we need to capture their Login and Logout time and storing it in a CO . When the user clicks on Logout button we are able to fetch the Logout time , but there are scenarios wherein the user can close the Browser directly or shuts the system down in that case the Logout time isn't getting captured . We need to capture such cases as well and store that time in the Logout time . I have checked the onbeforeunload() event

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!