API17:JTableSession::exists
From Joomla! Documentation
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
JTableSession::exists source code on BitBucket
Class JTableSession
Subpackage Database- Other versions of JTableSession::exists
User contributed notes
Code Examples