mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02:00
when synchronizing using syncml, we already have php based session started
and we are (currently) not allowed to change the session_id later to solve this problem, we simply return the current session_id in new_session_id()
This commit is contained in:
parent
40181f7d5c
commit
cf1dad6d52
@ -1326,6 +1326,13 @@
|
|||||||
*/
|
*/
|
||||||
function new_session_id()
|
function new_session_id()
|
||||||
{
|
{
|
||||||
|
# when synchronizing using syncml, we already have php4 based session started
|
||||||
|
# and we are currently not allowed to change the sessionid later
|
||||||
|
# to solve this problem, we simply return the current session_id
|
||||||
|
if(basename($_SERVER["REQUEST_URI"]) == 'rpc.php' && session_id() != '') {
|
||||||
|
return session_id();
|
||||||
|
}
|
||||||
|
|
||||||
return md5($GLOBALS['egw']->common->randomstring(15));
|
return md5($GLOBALS['egw']->common->randomstring(15));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user