JSessionStorageDatabase::write: Difference between revisions
From Joomla! Documentation
Updated to r1448:247ba8d88526 |
m preparing for archive only |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Write session data to the SessionHandler backend. | Write session data to the SessionHandler backend. | ||
<source lang="php"> | <source lang="php"> | ||
public function write ( | public function write ( | ||
| Line 37: | Line 35: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JSessionStorageDatabase::write source code''' on [[jplatform:session/storage/database.php#cl-75|BitBucket]] | * {{JVer|11.1}} '''JSessionStorageDatabase::write source code''' on [[jplatform:session/storage/database.php#cl-75|BitBucket]] | ||
* {{JVer|11.1}} Class [[JSessionStorageDatabase | * {{JVer|11.1}} Class [[API17:JSessionStorageDatabase|JSessionStorageDatabase]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Session | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]] | ||
* [[JSessionStorageDatabase::write|Other versions of JSessionStorageDatabase::write]] | * [[API17:JSessionStorageDatabase::write|Other versions of JSessionStorageDatabase::write]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageDatabase::write | category=JSessionStorageDatabase::write | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 55: | Line 51: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:40, 25 March 2017
JSessionStorageDatabase::write
Description
Write session data to the SessionHandler backend.
public function write (
$id
$data
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $id | string | The session identifier. | |
| $data | string | The session data. |
- Returns boolean True on success, false otherwise.
- Defined on line 83 of libraries/joomla/session/storage/database.php
- Since

See also
JSessionStorageDatabase::write source code on BitBucket
Class JSessionStorageDatabase
Subpackage Session- Other versions of JSessionStorageDatabase::write
User contributed notes
Code Examples