What is the lifespan for items stored in viewstate______________?
Correct answer: D. Exists for the Life of the current page
- A. 10 mins
- B. 20 mins
- C. 2 mins
- D. Exists for the Life of the current page
Explanation
ViewState is stored with the page and is recreated when that page is posted back, so it lasts for the life of the current page. It is not governed by a fixed minute-based timeout like session data.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
Practise Web and Mobile Development
268 free Web and Mobile Development MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Software Engineering questions like this
Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.
More Web and Mobile Development questions
The first event triggers in an aspx page is__________________?
Which object can help you maintain data across users ?
Web.config file is used.. ?
In ASP.NET if one wants to maintain session then which of the following is used ?
It is best to use a web instead of a windows application when the application ?
Postback occurs in which of the following forms_________________?