# |
Jul 15th 2017, 21:47 |
waspinator |
https://book.cakephp.org/3.0/en/development/sessions.html |
# |
Jul 15th 2017, 21:46 |
waspinator |
secs should be min though right? |
# |
Jul 15th 2017, 21:44 |
waspinator |
thanks @tippexs91 |
# |
Jul 15th 2017, 21:43 |
tippexs91 |
there is something like ``` 'Session' => [ 'defaults' => 'cake', 'timeout' => `SECS 'ini' => [ 'session.cookie_lifetime' => SECS, 'session.gc_maxlifetime' => SECS ] ],``` |
# |
Jul 15th 2017, 21:42 |
tippexs91 |
@waspinator use the Session parameter in your app.php file |
# |
Jul 15th 2017, 21:41 |
waspinator |
how would I change the user session timeout? |
# |
Jul 15th 2017, 21:35 |
tippexs91 |
any ideas how to select a date field with find from a db table WITHOUT changing the field into a that: ´´´ [ (int) 0 => object(Cake\I18n\FrozenDate) { 'time' => '2017-08-01T00:00:00+00:00', 'timezone' => 'UTC', 'fixedNowTime' => false } ´´´ |
# |
Jul 15th 2017, 21:34 |
tippexs91 |
hey folks |
# |
Jul 15th 2017, 19:57 |
admad |
the php intellisense extension still needs works but it keeps improving |
# |
Jul 15th 2017, 19:57 |
admad |
for js coding it's simply awesome |
# |
Jul 15th 2017, 19:56 |
admad |
it is very actively developed and has new release every month |
# |
Jul 15th 2017, 19:55 |
siran |
mmm it looks yummy |
# |
Jul 15th 2017, 19:53 |
admad |
being electron based it isnt exactly nimble but still better than java based apps |
# |
Jul 15th 2017, 19:52 |
admad |
currently i use vscode |
# |
Jul 15th 2017, 19:52 |
siran |
haha |
# |
Jul 15th 2017, 19:52 |
admad |
i just give them a spin from from time to time to see i am not really missing out on anything :slightly_smiling_face: |
# |
Jul 15th 2017, 19:52 |
siran |
@admad in my experience phpstorm doesn't feel heavy. what's your editor of choice? |
# |
Jul 15th 2017, 19:51 |
admad |
@siran any java based app is gonna be heavy, eclipse, netebeans, phpstrom etc. Which is why i use neither :slightly_smiling_face: |
# |
Jul 15th 2017, 18:53 |
cleptric |
np :slightly_smiling_face: |
# |
Jul 15th 2017, 18:53 |
siran |
thanks! |
# |
Jul 15th 2017, 18:52 |
cleptric |
yes |
# |
Jul 15th 2017, 18:52 |
siran |
@cleptric you mean `(string)$this->_response->getBody();` ? that works indeed |
# |
Jul 15th 2017, 18:48 |
siran |
oh, ill see into that. thanks! |
# |
Jul 15th 2017, 18:47 |
cleptric |
Cast it to a string |
# |
Jul 15th 2017, 18:45 |
cleptric |
That’s by propose. `getBody()` retruns you the `stream` object |
# |
Jul 15th 2017, 18:43 |
siran |
@cleptric _request->getBody() for some reason didn't return the JSON body... _request->body() did correctly. I don't know. I should probably open a ticket... |
# |
Jul 15th 2017, 18:40 |
siran |
@admad @sturm yeah eclipse shows the same info. I've heard is quite 'heavy', though... How has it worked out for you @admad ? |
# |
Jul 15th 2017, 18:25 |
spencdev |
I got it to work by putting the path straight into `'verify' => 'pathhere'` but that seems a little... well. yeah |
# |
Jul 15th 2017, 18:23 |
spencdev |
has anyone actually gotten the curl ssl issued resolved? lol. I've added the .pem file, and added it to php.ini and still can't get it to work. I don't remember having to do all of this in the past... weird. |
# |
Jul 15th 2017, 17:58 |
waspinator |
do I need to set `cookieTimeout`? can't find a reference to it in the book or api, but seems to show up in some tests |
# |
Jul 15th 2017, 17:54 |
waspinator |
if I wanted to extend the session lifetime before a user is automatically logged out, would i have to change `session.gc-maxlifetime`? right now I have `'timeout' => 1440 // 1 day` set in the `session` variable in `app.php`, but it still logs out after a few minutes. |
# |
Jul 15th 2017, 16:34 |
joop |
is there a built in component for workflow building? |
# |
Jul 15th 2017, 16:33 |
joop |
hello all |
# |
Jul 15th 2017, 15:38 |
cleptric |
gith |
# |
Jul 15th 2017, 13:44 |
JD-Robbs |
Whoop, thanks. |
# |
Jul 15th 2017, 13:44 |
savant |
maybe |
# |
Jul 15th 2017, 13:44 |
JD-Robbs |
Am I registered? |
# |
Jul 15th 2017, 12:34 |
admad |
nope |
# |
Jul 15th 2017, 12:14 |
nooot77 |
any body here ? |
# |
Jul 15th 2017, 12:13 |
nooot77 |
hi |
# |
Jul 15th 2017, 10:00 |
birdy247 |
I just overrode the associtation in my Apps table |