API17

API17:JTableSession::exists

From Joomla! Documentation

Joomla 11.1 JTableSession::exists

Description

Find out if a user has a one or more active sessions.


public function exists ($userid)
Parameter Type Default Description
$userid int The identifier of the user
  • Returns boolean True if a session for this user exists
  • Defined on line 105 of libraries/joomla/database/table/session.php

See also


User contributed notes

Code Examples