projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f1c50
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Mon, 2 Mar 2015 08:12:23 +0000
(16:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 2 Mar 2015 08:12:23 +0000
(16:12 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
9b3b47c
..
4b82b0e
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-455,8
+455,10
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
//@session_start();
//var_dump(array(get_class($this),$sesPrefix .'-auth'));
$_SESSION[get_class($this)][$sesPrefix .'-auth'] = serialize($this);
+ // ensure it's written so that ajax calls can fetch it..
+ session_write_close();
+ session_start();
- print_r($_SESSION);
}
function logout()