Website login errors

The user opens two tabs of the same website, manually logs out from the tab, and does an action in another tab which can be done only by logged in user. The action will return an unexpected error since the user has logged out

In SCA backend (SuiteScript), there’s an option to check whether the user is logged in or not using session.isLoggedin(). When the user clicks an action which can be done only when the user is logged in, we can request this method and return right parameters

Leave a comment

Your email address will not be published. Required fields are marked *