JApplication::_createSession
Create the user session.
Old sessions are flushed based on the configuration value for the cookie lifetime. If an existing session, then the last access time is updated. If a new session, a session id is generated and a record is created in the #__sessions table.
Signature
protected function _createSession(string
$nameĀ )
Parameters
-
$name
- The sessions name.
Returns
- JSession
- JSession on success. May call exit() on database error.
Tasks
Line | Task |
---|---|
991 | At some point we need to get away from having session data always in the db. |