MVC Transfer Data Between Views

前端 未结 3 912
忘掉有多难
忘掉有多难 2021-01-15 16:02

I just started to learn MVC and am trying to understand how it works.

I don\'t want to send users to different views for all edit, insert and list operations.

<
3条回答
  •  梦谈多话
    2021-01-15 16:40

    Most MVC frameworks have the ability to temporarily store a small bit of data just through the next request, for just this purpose. In ASP.NET MVC its called TempData, in Rails it's called :flash, etc.

提交回复
热议问题