projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b510ffe
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Dec 2013 07:11:57 +0000
(15:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Dec 2013 07:11:57 +0000
(15:11 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
0a4155b
..
948e68a
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-320,7
+320,7
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
$_SESSION[__CLASS__][$sesPrefix .'-auth'] = serialize($u);
return true;
}
-
+ var_dump(session_id());
var_dump($_SESSION[__CLASS__]);
if (!empty( $_SESSION[__CLASS__][$sesPrefix .'-empty'] )) {
@@
-434,6
+434,8
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
$_SESSION[__CLASS__][$sesPrefix .'-auth'] = "";
unset($_SESSION[__CLASS__]);
+
+
session_regenerate_id ( true );
}