Log message #4103206

# At Username Text
# Dec 13th 2017, 13:05 jkpatel291289 here is the actual code
# Dec 13th 2017, 13:05 jkpatel291289 https://gist.github.com/jaynarayan89/0eec17e993dad9c4ceb0567014ca764b
# Dec 13th 2017, 13:04 hmic requrest
# Dec 13th 2017, 13:04 hmic dont!
# Dec 13th 2017, 13:04 jkpatel291289 whats the typo?
# Dec 13th 2017, 13:04 jkpatel291289 i am echoing tust for testing..
# Dec 13th 2017, 13:02 hmic you set to the response and return it
# Dec 13th 2017, 13:02 hmic and you don't echo from a controller action
# Dec 13th 2017, 13:01 hmic typo
# Dec 13th 2017, 13:01 jkpatel291289 public function getAjaxList() { if ($this->requrest->is('ajax')) { echo 'ajax'; } } when i access this method from url request is false and is() mwthod not working why?
# Dec 13th 2017, 12:33 megan awesome
# Dec 13th 2017, 12:33 joopm i made a request :)
# Dec 13th 2017, 12:32 joopm thank you for the invitation
# Dec 13th 2017, 12:31 joopm i would be happy
# Dec 13th 2017, 12:31 megan (roadtrip plans and dates have not been announced yet)
# Dec 13th 2017, 12:31 megan At this point there is Roadtrip, but only one entry from Budapest - you are welcome to submit to https://cakephp.org/pages/road_trip :slightly_smiling_face:
# Dec 13th 2017, 12:27 admad joopm: you can contact @megan if you are interested in helping organize cakefest :slightly_smiling_face:
# Dec 13th 2017, 10:23 joopm well if no plans i can help maybe in the organization
# Dec 13th 2017, 10:19 hmic I still think it's quite unfair to have 2 US cakefests and 1 outside-US schedules
# Dec 13th 2017, 10:18 hmic Are there plans for Budapest? The website shows Nashville only
# Dec 13th 2017, 10:17 joopm woww awesome planss
# Dec 13th 2017, 10:17 hmic I'm in Germany right now, but planning to move to Hong Kong and Shenzhen next year actually :D
# Dec 13th 2017, 10:11 joopm do you live on Poland?
# Dec 13th 2017, 10:11 joopm hope soo, maybe i will arrange in Budapest
# Dec 13th 2017, 10:09 hmic maybe we meet at a cakefest some day...
# Dec 13th 2017, 10:09 hmic no worries, you are welcome
# Dec 13th 2017, 10:08 joopm :D no magic i dont know where you leave but i would be happy if i can pay you a lunch
# Dec 13th 2017, 10:07 joopm you helped soo much
# Dec 13th 2017, 10:07 hmic ;-)
# Dec 13th 2017, 10:07 joopm i will ask you for lunch someway
# Dec 13th 2017, 10:07 joopm thank you this work like charm : $this->redirect($this->Auth->redirectUrl())
# Dec 13th 2017, 10:05 hmic like i showed
# Dec 13th 2017, 10:05 hmic so change the redirect to not be the referer gut the redirectUrl
# Dec 13th 2017, 10:04 joopm its show the desired url
# Dec 13th 2017, 10:04 hmic so just dont redirect to the referer, which makes no sense. but to auth redirectUrl
# Dec 13th 2017, 10:04 joopm Query string redirect / url
# Dec 13th 2017, 10:03 hmic it's $this->redirect($this->Auth->redirectUrl()) actually, not loginAction of course, sorry my fault.
# Dec 13th 2017, 10:03 joopm in the request i can see
# Dec 13th 2017, 10:02 hmic either you let the authcomponent redirect, or you have a custom redirect action based on whatever
# Dec 13th 2017, 10:02 hmic you can't have both
# Dec 13th 2017, 10:02 hmic ah, IC now - you do not redirect($this->referer()) this redirect($this->Auth->loginAction)