Persisting model state when using PRG

added by JefClaes
6/18/2012 12:48:28 PM

2 Kicks, 196 Views

I've been working on an ASP.NET MVC application in which we frequently apply the Post/Redirect/Get pattern. One of the direct consequences of applying this pattern is that you often want to persist the model state across redirects, so that you don't lose validation errors, or the values of input fields.