Where is ViewState stored?

前端 未结 5 1597
深忆病人
深忆病人 2020-12-19 07:59

Where is a ViewState Stored? Is it stored in Server or Client Side?

I have a huge data which should be stored for some process. I was using Session. But when moved f

5条回答
  •  -上瘾入骨i
    2020-12-19 08:28

    ViewState is stored where you tell it. By default, this is in a hidden field on the page sent to the client.

    ASP.NET can also store ViewState inside the Session, i.e. on the server, if you tell it to.

提交回复
热议问题