Redirect to current page

How do I redirect to the current page?

$this->refresh() :blink:

No, that sends submitted info again…

No, it doesn’t ;)

When I used it in a controller action that submits data into a table, I get

This web page has a redirect loop.

Are you sure?

How is your form submitted? via POST or GET?

If you use GET then it’s clear why you have always a re-submission of your data, cause its in the url.

guess its time for some code example ;)