SessionService.isSessionValid Method

Checks whether the current session is valid or not. However, if there is no current session, a manual ID can be provided.
 

Parameters

id

Type: String
If the current session shouldn't be used, an optional override can be provided to check instead.
Optional: True

Return Value


Type: jQuery.Promise
Value: Boolean
A promise object that is resolved when the call is complete with a true result if it's valid, otherwise false.