# |
Sep 23rd 2011, 05:04 |
Seguer |
LOL |
# |
Sep 23rd 2011, 05:03 |
L4 |
im actually a part time pesticide agent, i hunt bugs all the time |
# |
Sep 23rd 2011, 05:02 |
L4 |
it makes me happy :) |
# |
Sep 23rd 2011, 04:57 |
Seguer |
L4: we heard you like debugging so we put errors in the debuggers so you can debug while you debug |
# |
Sep 23rd 2011, 04:56 |
L4 |
ACTION SHOOTS THE SCREEN |
# |
Sep 23rd 2011, 04:49 |
thinline |
ha |
# |
Sep 23rd 2011, 04:47 |
L4 |
debugging debugging is more annoying. |
# |
Sep 23rd 2011, 04:45 |
thinline |
debugging email that just dont arrive is really really annoying |
# |
Sep 23rd 2011, 04:35 |
L4 |
fresh install :( |
# |
Sep 23rd 2011, 04:34 |
L4 |
Anyone know why cake 2.0 wont find Debugger class on a wamp? |
# |
Sep 23rd 2011, 04:33 |
cpierce |
cpgo: the only thing i saw it said about it was Helper::$data is deprecated, use the request objectâ??s data property. I was just making sure that would be called via $this->request->data |
# |
Sep 23rd 2011, 04:09 |
cpgo |
o.o |
# |
Sep 23rd 2011, 04:09 |
cpgo |
game = changes* |
# |
Sep 23rd 2011, 04:09 |
cpgo |
cpierce, always.. why dont you read the migration guide and familiarize yourself with the games :) |
# |
Sep 23rd 2011, 04:05 |
cpierce |
cpgo: in reference to your previous use $this->request->data should i use $this->request->data always or only when i need to write? |
# |
Sep 23rd 2011, 03:52 |
mdunham918_ |
man I'm using cake2 and my session keeps timing out after like an hour even though I'm continually using browsing the site i set session timeout to 36000 and security to low but still happening |
# |
Sep 23rd 2011, 03:51 |
fenix` |
daan. wierd as, it just started working properly, i changed nothing. |
# |
Sep 23rd 2011, 03:47 |
aldodelgado |
wow big mistake on my part. I had the core configuration set to php session to handle my sessions. When I switched it to cake everything started to work correctly. |
# |
Sep 23rd 2011, 03:40 |
aldodelgado |
I've also noticed that if your session expires and your on app.com/prefix/controller/method after the redirect, if I delete the extra part of the url /prefix/controller/method and hit enter to refresh the page. i get a new session and can start surfing again. Has anyone here had this type of experience? |
# |
Sep 23rd 2011, 03:36 |
daaaan |
user* |
# |
Sep 23rd 2011, 03:36 |
daaaan |
does your mysql use have delete privileges on the table? |
# |
Sep 23rd 2011, 03:36 |
aldodelgado |
Question: I have my cakeapp session timing out in 10 seconds to test what happens after a session expires. What I'm trying to accomplish is a redirect to back to the login page if session has expired. However I can seem for the life of me figure out why its being redirected to /prefix/controller/method? I have $this->Auth->logoutRedirect = '/login'; in my before filter of app_controller |
# |
Sep 23rd 2011, 03:35 |
fenix` |
mean to paste this: int(10) string(9) "destroyed" bool(false) |
# |
Sep 23rd 2011, 03:35 |
fenix` |
cah |
# |
Sep 23rd 2011, 03:35 |
fenix` |
$this->Session->write('x' ,10); var_dump($this->Session->read('x')); $this->Session->destroy(); var_dump('destroyed'); var_dump($this->Session->read('x')); |
# |
Sep 23rd 2011, 03:35 |
fenix` |
works as expected |
# |
Sep 23rd 2011, 03:35 |
fenix` |
$this->Session->write('x' ,10); var_dump($this->Session->read('x')); $this->Session->destroy(); var_dump('destroyed'); var_dump($this->Session->read('x')); |
# |
Sep 23rd 2011, 03:34 |
fenix` |
daan, thats oddd |
# |
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 |