checkAndUpdateSession(final String, final long) method

This method checks if the supplied session is still valid (not closed and not expired) and also update the last activity timestamp.

Syntax

long checkAndUpdateSession ( final String sessionId , final long callerId ) throws EntityNotFoundException, SessionException

Parameters

Returns

the customer id associated with the session

Exceptions

Usage

the customer id associated with the session