JSessionStorage::write: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Write session data to the SessionHandler backend. | Write session data to the SessionHandler backend. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 37: | Line 37: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]] | ||
* [[API17:JSessionStorage::write|Other versions of JSessionStorage::write]] | * [[API17:JSessionStorage::write|Other versions of JSessionStorage::write]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorage::write | category=JSessionStorage::write | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:39, 25 March 2017
JSessionStorage::write
Description
Write session data to the SessionHandler backend.
public function write (
$id
$session_data
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $id | string | The session identifier. | |
| $session_data | string | The session data. |
- Returns boolean True on success, false otherwise.
- Defined on line 123 of libraries/joomla/session/storage.php
See also
JSessionStorage::write source code on BitBucket
Class JSessionStorage
Subpackage Session- Other versions of JSessionStorage::write
User contributed notes
Code Examples