X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fsession%2FSession.php;h=31761c31e70ef12eef57ca5dc7967d1d5787ceb1;hb=d9b2cdabdc0a11344158d81ee45a91675a51e945;hp=8fa212ebf1e9281a89df7dd733cd8cb4b1066a32;hpb=0687f250d6fb4196a7aa60af4fe11c7d21f3c455;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/session/Session.php b/includes/session/Session.php index 8fa212ebf1..31761c31e7 100644 --- 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 + * + * 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(); @@ -603,6 +608,9 @@ final class Session implements \Countable, \Iterator, \ArrayAccess { /** * Save the session + * + * This will update the backend data and might re-persist the session + * if needed. */ public function save() { $this->backend->save();