aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/session/internal.php
Commit message (Collapse)AuthorAgeFilesLines
* Move \OC\Session to PSR-4Roeland Jago Douma2016-04-151-138/+0
|
* Happy new year!Thomas Müller2016-01-121-1/+1
|
* Move regeneration of session ID into session classesLukas Reschke2016-01-041-5/+25
| | | | There were code paths that nowadays call ISession::login directly thus bypassing the desired regeneration of the session ID. This moves the session regeneration deeper into the session handling and thus ensures that it is always called. Furthermore, I also added the session regeneration to the remember me cookie plus added some test case expectations for this.
* Delete cookie instead of emptying valueLukas Reschke2015-10-191-1/+5
| | | | | | | | PHP will handle session cookies with an empty values as an E_WARNING error. ([php/#68063](https://bugs.php.net/bug.php?id=68063)) ownCloud sets the cookie to an empty value in case the session expires, it however after this starts a new session. Due to potential race conditions this can in unlikely cases lead to the fact that the session never gets restarted and the user is left with an empty cookie. PHP tries then to use the empty cookie which makes the instance not usable. To work around any race condition we now tell PHP to explicitly delete the value which can be done by using `null` as value, PHP will then send a cookie with the value "deleted". Also theepiration has been set to -1.
* update licence headers via scriptMorris Jobke2015-10-051-0/+2
|
* Session closed exception wordingPhil Davis2015-09-291-1/+1
| | | | and a small comment typo
* Write to session in batch at the end of the requestLukas Reschke2015-09-091-4/+4
|
* Update license headersJenkins for ownCloud2015-03-261-4/+20
|
* Handle session initialization errors and display error page - fixes #15053Thomas Müller2015-03-201-1/+7
|
* Revert "Updating license headers"Morris Jobke2015-02-261-19/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-5/+19
|
* Refactor internal session to write directly to $_SESSIONcetra32014-08-301-7/+37
|
* redefine reopen() in class \OC\Session\Internal to avoid accidental calls in ↵Thomas Müller2014-03-181-0/+3
| | | | productive code
* fix close() implementation in \OC\Session\InternalThomas Müller2014-03-101-2/+9
|
* adding an explicit close method to class session - write operations (set and ↵Thomas Müller2014-03-101-1/+1
| | | | remove) being called after close() will throw an exception
* check if a $_SESSION entry exists before we try to remove itRobin Appelman2013-12-111-1/+3
|
* preserve 3rd party values in in the Session destructorRobin Appelman2013-12-091-1/+10
|
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-0/+39
Conflicts: lib/private/vcategories.php