JSessionStorageMemcache::write: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users 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 | public function write ( | ||
$id | |||
$session_data | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 27: | ||
|string | |string | ||
| | | | ||
|The session data. | |The session data. | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' boolean True on success, false otherwise. | |||
boolean True on success, false otherwise. | * '''Defined''' on line 130 of libraries/joomla/session/storage/memcache.php | ||
libraries/joomla/session/storage/memcache.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JSessionStorageMemcache::write source code''' on [[jplatform:session/storage/memcache.php#cl-122|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JSessionStorageMemcache|JSessionStorageMemcache]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]] | |||
* | * [[API17:JSessionStorageMemcache::write|Other versions of JSessionStorageMemcache::write]] | ||
* [[JSessionStorageMemcache::write|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageMemcache::write | category=JSessionStorageMemcache::write | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:41, 25 March 2017
JSessionStorageMemcache::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 130 of libraries/joomla/session/storage/memcache.php
See also
JSessionStorageMemcache::write source code on BitBucket
Class JSessionStorageMemcache
Subpackage Session- Other versions of JSessionStorageMemcache::write
User contributed notes
Code Examples