How long the items in ViewState exists?

How long the items in ViewState exists?

@mangal.shekhar123
I have not understood your query correctly. What are you referring to as ViewState? If you can tell me which project you are building or feature you are referring to, I could help you resolve the query accordingly.