krytenuk/refresh-redirect

Zend Framework module for redirecting

2.1.0 2020-01-06 11:42 UTC

This package is auto-updated.

Last update: 2020-10-06 15:17:16 UTC


README

Docs available online.

I was inspired to write this simple module after using ZF flashMessanger controller plugin and view helper. The problem I found is when using the view helper the messages in flashMessanger are deleted, this means that if the user refreshes the page all messages are gone. This can possibly lead to errors depending on your code. To overcome this issue I wrote the refresh redirect module, this simply checks if the same page is called a second time, if so redirect to a different page.