# |
Sep 23rd 2011, 03:34 |
daaaan |
also, i'm not sure if this was changed in 2.0 but cake 1.3 will reuse session ids if the browser sends a previously valid session id |
# |
Sep 23rd 2011, 03:34 |
daaaan |
if self::started() isn't returning true it might not be destroying it (check your SQL logs if you're using mysql) |
# |
Sep 23rd 2011, 03:33 |
daaaan |
what's your session store? |
# |
Sep 23rd 2011, 03:33 |
daaaan |
hrm |
# |
Sep 23rd 2011, 03:30 |
fenix` |
i'll try that |
# |
Sep 23rd 2011, 03:30 |
daaaan |
no idea about 2.0, we're staying at 1.3.11 |
# |
Sep 23rd 2011, 03:30 |
daaaan |
oh |
# |
Sep 23rd 2011, 03:30 |
fenix` |
2.0.0 |
# |
Sep 23rd 2011, 03:29 |
daaaan |
what version of cake? |
# |
Sep 23rd 2011, 03:29 |
daaaan |
what the hell |
# |
Sep 23rd 2011, 03:29 |
fenix` |
session->read('x') returns $value still |
# |
Sep 23rd 2011, 03:29 |
daaaan |
if you do $this->Session->write('x', 'y'); $this->Session->destroy(); $this->Session->read('x'); yields y? |
# |
Sep 23rd 2011, 03:29 |
fenix` |
log in as someone else or the same user |
# |
Sep 23rd 2011, 03:29 |
fenix` |
logout |
# |
Sep 23rd 2011, 03:29 |
fenix` |
session->read('x') <- returns $value |
# |
Sep 23rd 2011, 03:28 |
fenix` |
session->write('x', $value) |
# |
Sep 23rd 2011, 03:28 |
daaaan |
$this->Session->read() is the same before and after the logout()? |
# |
Sep 23rd 2011, 03:26 |
fenix` |
even after logging out and logging back in as another user i can access the last users session data. |
# |
Sep 23rd 2011, 03:25 |
fenix` |
http://bin.cakephp.org/view/1459039525 |
# |
Sep 23rd 2011, 03:24 |
fenix` |
~bin |
# |
Sep 23rd 2011, 03:15 |
cpgo |
whatever |
# |
Sep 23rd 2011, 03:15 |
cpgo |
read me |
# |
Sep 23rd 2011, 03:15 |
cpgo |
you heard me |
# |
Sep 23rd 2011, 03:15 |
Seguer |
what what |
# |
Sep 23rd 2011, 03:14 |
cpgo |
git damn you Seguer |
# |
Sep 23rd 2011, 01:52 |
Seguer |
damnit git |
# |
Sep 23rd 2011, 01:26 |
diverdude |
it happens when i change something |
# |
Sep 23rd 2011, 01:26 |
diverdude |
D |
# |
Sep 23rd 2011, 01:26 |
diverdude |
it was a glitch in the matrix |
# |
Sep 23rd 2011, 01:25 |
Section58 |
) |
# |
Sep 23rd 2011, 01:25 |
diverdude |
Section58, nvm, i figured it out :) |
# |
Sep 23rd 2011, 01:25 |
Section58 |
diverdude: bake ... i am not a bake user |
# |
Sep 23rd 2011, 00:58 |
diverdude |
hmm, when i try and run cake bake view all i get: Error: Database table alcoholhabits for model Alcoholhabit was not found. But i have a table called alcholhabits. What could be wrong? |
# |
Sep 23rd 2011, 00:41 |
Seguer |
ddoom_: extract then merge |
# |
Sep 23rd 2011, 00:39 |
ddoom_ |
I can just specify the id which I have |
# |
Sep 23rd 2011, 00:39 |
ddoom_ |
so I don't have to have loops trying to find the correct data in the array |
# |
Sep 23rd 2011, 00:38 |
Seguer |
ddoom_: why? |
# |
Sep 23rd 2011, 00:38 |
Seguer |
diverdude: ok that makes a bit more sense |
# |
Sep 23rd 2011, 00:37 |
ddoom_ |
If I have an array retrieved from a find, is there a way using Set:: to have the key of the array be the id of the model? e.g. array(12 => array('Model' => ..., 35 => array('Model' =>...) |
# |
Sep 23rd 2011, 00:36 |
diverdude |
Seguer, most of them being link tables |
# |
Sep 23rd 2011, 00:35 |
diverdude |
Seguer, ok..its tables |