Hi, I'm studying the response->redirect
; and I encounter 2 strange results:
- validation - after redirection, seem like it's going to validate one more time. For example I insert a row that contains unique value, after the redirection it throws me an error. This problem will not occur for
forward
. - flash session message - similar to validation, a flash message will output twice, and doesn't happen when using
forward
.
Have any of you encounter this problem?