I am using PRG pattern for form submission in mvc. But In most of the sites suggested me to use temp data in PRG instead of view data. But I don't know how to judge this.
View bag and view data Lives only during the current request from controller to view and Temp data also Lives only during the current request from action to action or controller to another controller.
Can we use View data instead of Temp data for PRG pattern ?
Why we need to use temp data instead of view bag, view data ?