Log message #4179722

# At Username Text
# Mar 14th 2019, 09:37 om.axisweb sorry i fount => echo $this->Url->build('/posts', true);
# Mar 14th 2019, 09:36 dereuromark I just upgraded the execution order app from 3.0 to 3.7. Interesting what kind of changed in terms of execution order since then inside this major version (see diff https://github.com/dereuromark/executionorder/commit/cbb4cb1de302182e07d7702659c930d54891ad00 ).
# Mar 14th 2019, 09:35 om.axisweb but am not able to get base url of site
# Mar 14th 2019, 09:34 om.axisweb i am create a ajax get data method
# Mar 14th 2019, 09:34 om.axisweb 3.7
# Mar 14th 2019, 09:33 arthurb @om.axisweb what version of cake?
# Mar 14th 2019, 09:32 asep hi
# Mar 14th 2019, 09:31 om.axisweb anybody do a reply ?
# Mar 14th 2019, 09:30 om.axisweb ctp file in how to get cakephp(site) base url
# Mar 14th 2019, 09:22 challgren Morning neon1024
# Mar 14th 2019, 09:22 arthurb morning
# Mar 14th 2019, 09:21 neon1024 Morning everyone
# Mar 14th 2019, 09:21 arthurb busy rewriting to use query string
# Mar 14th 2019, 09:21 dereuromark one of the reasons I fixed the referer for login to query string in cake3.5 - now all is working nicely with no matter how many tabs you have open.
# Mar 14th 2019, 09:20 dereuromark the URL query string has the advantage of it working even if you had to reboot/restart browser or session was lost and you logged back in
# Mar 14th 2019, 09:20 dereuromark form field I mean
# Mar 14th 2019, 09:19 dereuromark @arthurb or the hidden form to pass along, this will be kept also when validation fails etc.
# Mar 14th 2019, 09:13 arthurb it’s safe to say i’m not using sessions
# Mar 14th 2019, 09:12 arthurb lol
# Mar 14th 2019, 09:12 slackebot <challgren>
# Mar 14th 2019, 09:10 arthurb query string it is
# Mar 14th 2019, 09:09 arthurb ouch, point taken :slightly_smiling_face:
# Mar 14th 2019, 09:09 challgren Ohh yeah sessions are like really bad
# Mar 14th 2019, 09:09 dereuromark if someone has two tabs open and does similar but different actions, you get a huge mess in usability
# Mar 14th 2019, 09:08 dereuromark session is always the worst idea possible, trust me.
# Mar 14th 2019, 09:06 arthurb @dereuromark thank you, was thinking on saving referer to a session only if action = index
# Mar 14th 2019, 09:05 dereuromark Might need a cooler convenience method here though
# Mar 14th 2019, 09:05 dereuromark not yet, no. I would also always use my Passwordable behavior :slightly_smiling_face:
# Mar 14th 2019, 09:02 challgren @dereuromark any idea on checking to see when a password needs rehashed with the new authenticate plugin?
# Mar 14th 2019, 08:59 dereuromark arthurb: you need to collect the referer only once, not all the time, then it works. the alternative is to pass along the data as query string, that will then keep the referer this way as well on post.
# Mar 14th 2019, 08:40 arthurb oh cake 3.7
# Mar 14th 2019, 08:39 arthurb Might be a simple solution but my brain is ignoring it
# Mar 14th 2019, 08:39 arthurb Hi guys, I’m trying to return to the correct page of an index after an add or edit function is completed. I save the $request->referer() in a variable and then use it in a hidden field on each actions form. This works great unless the validation fail in which case the $request->referer() resets to the current page. Any ideas how to get around this?
# Mar 14th 2019, 08:39 arthurb Hi guys, I normally search and try to solve my issues before asking here, but I’m pressed for time to get a prototype out :slightly_smiling_face:
# Mar 14th 2019, 08:24 pawan.kumar @angga can you help me for this
# Mar 14th 2019, 07:34 johnwayne Hi, how do you set `<link rel="apple-touch-icon"`...` in your project? Where do you store all of those Appls icons (webroot) or ?
# Mar 14th 2019, 07:32 pawan.kumar any guide, what went wrong
# Mar 14th 2019, 07:32 pawan.kumar If I disable, it's working fine
# Mar 14th 2019, 07:32 pawan.kumar Hey, this is due to security component
# Mar 14th 2019, 07:16 admad connect the one for `"/:lang/banner/:controller/:action/*"` before `"/:lang/:controller/:action/*"`
# Mar 14th 2019, 07:16 admad @grossolive4 order in which routes are connected matters!