dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "mw.widgets.CategorySelector: Add client-side caching"
[lhc/web/wiklou.git]
/
includes
/
session
/
Session.php
diff --git
a/includes/session/Session.php
b/includes/session/Session.php
index
8fa212e
..
31761c3
100644
(file)
--- a/
includes/session/Session.php
+++ b/
includes/session/Session.php
@@
-129,6
+129,11
@@
final class Session implements \Countable, \Iterator, \ArrayAccess {
/**
* Make this session not be persisted across requests
/**
* Make this session not be persisted across requests
+ *
+ * This will remove persistence information (e.g. delete cookies)
+ * from the associated WebRequest(s), and delete session data in the
+ * backend. The session data will still be available via get() until
+ * the end of the request.
*/
public function unpersist() {
$this->backend->unpersist();
*/
public function unpersist() {
$this->backend->unpersist();
@@
-603,6
+608,9
@@
final class Session implements \Countable, \Iterator, \ArrayAccess {
/**
* Save the session
/**
* Save the session
+ *
+ * This will update the backend data and might re-persist the session
+ * if needed.
*/
public function save() {
$this->backend->save();
*/
public function save() {
$this->backend->save();