public static void registerActivity(final EFapsSession _session)
    {
        if (_session.isLogedIn() && RegistryManager.getCache().containsKey(_session.getId())) {
            final UserSession userSession = RegistryManager.getCache().get(_session.getId());
            if (userSession.isInvalidated()) {
                _session.invalidate();
            } else {
                userSession.registerActivity();
            }
        }
    }
public static void registerActivity(final EFapsSession _session)
    {
        if (_session.isLogedIn() && RegistryManager.getCache().containsKey(_session.getId())) {
            final UserSession userSession = RegistryManager.getCache().get(_session.getId());
            if (userSession.isInvalidated()) {
                _session.invalidate();
            } else {
                userSession.registerActivity();
            }
        }
    }
public static void registerActivity ( final EFapsSession _session ) { if ( _session . isLogedIn ( ) && RegistryManager . getCache ( ) . containsKey ( _session . getId ( ) ) ) { final UserSession userSession = RegistryManager . getCache ( ) . get ( _session . getId ( ) ) ; if ( userSession . isInvalidated ( ) ) { _session . invalidate ( ) ; } else { userSession . registerActivity ( ) ; } } }
Register activity.

@param _session the session
Register activity .