API17

JTableSession::exists

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JTableSession::exists[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]