mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
added support for commiting sessions(remove file lock for php sessions)
This commit is contained in:
parent
37b1a0c0c1
commit
fd297aad19
@ -212,6 +212,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* commit the sessiondata to storage (needs to be reimplemented for the subclasses)
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
function commit_session() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
function split_login_domain($both,&$login,&$domain)
|
function split_login_domain($both,&$login,&$domain)
|
||||||
{
|
{
|
||||||
$parts = explode('@',$both);
|
$parts = explode('@',$both);
|
||||||
|
@ -43,6 +43,16 @@
|
|||||||
session_name('sessionid');
|
session_name('sessionid');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* commit the sessiondata to the filesystem
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
function commit_session() {
|
||||||
|
session_write_close();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
function read_session()
|
function read_session()
|
||||||
{
|
{
|
||||||
if (!$this->sessionid)
|
if (!$this->sessionid)
|
||||||
|
Loading…
Reference in New Issue
Block a user