Where is ViewState information stored?
Answers were Sorted based on User's Feedback
Answer / vinusreekumaran nair
Viewstate information is stored in hidden form field named
__VIEWSTATE
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / puneet kanna
view state information store in hidden field in single encoded string and view state scoup is only for the current page
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nagashrinivas
view state info is stored in HIDDEN FIELDS
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mahesh (karnataka)
Actually view state information is information about the
central governments view about a particular state in india.
I personally think that karnataka has a very good view
state... actually every state has a view state document.
Most of my friends posted in this website that it is stored
in hidden.. yes.. you people are exactly correct... it is
hidden and government will take it out when ever it is
needed and the key is with prime minister...
| Is This Answer Correct ? | 0 Yes | 0 No |
Storage Options
Because it implements the Provider Pattern, you have at your
disposal two ways of storing ViewState (with more to come):
* Save To Cache: save ViewState in Cache, on the server
* Save To XML: saves ViewState into an XML file on the
server
The storage option you choose, depends on your requirements
as well as the constraints of your hosting environment.
Save To Cache: it is recommended for those situations where
you have a moderate volume of visitors. Pages will be served
faster (since we are accessing memory to retrieve
information). Since Chache is recycled automatically by the
server when memory is needed, it is important to know what
your hosting provider memory limits are, and what volume of
users you expect at any given time.
The Cache solution, allows you to specify the number of idle
minutes that you want the viewstate to be kept in memory
before being recycled (cacheMinutes attribute).
In case of premature recycling, the page will not fail, but
be redirected to itself, thus instantiating a new caching cycle.
Save To XML: it is recommended for high volume sites. Pages
will be served fast, and viewstate stored and retrieved from
xml files saved in a directory of your choice (virtualPath
attribute) that will require r/w permission.
There will be one file per user, and files will be deleted
at a configurable interval (fileCacheMinutes attribute).
Since there could be multiple ViewState in any given file
(if for example a user opens a pop-up), you can also specify
the number of minutes that any given ViewState entry can be
idle before being deleted (recordCacheMinutes attribute). If
you have a lot of pop-ups in your site, recordCacheMinutes
should be set to few minutes.
In case of premature recycling, the page will not fail, but
be redirected to itself, thus instantiating a new caching
cycle.
| Is This Answer Correct ? | 5 Yes | 14 No |
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
what is the jit? what is the type of jit and purpose of it>
What is the difference between session state and session variables ?
what is narmalization
If there is submit button in a from tell us the sequence what happens if submit is clicked and in form action is specified as some other page ?
How does the browser enable AutoPostBack functionality?
Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page?
How does SQL Server session state works
Hi, I am a fresher. i have a problem related to DataGrid . i have a data grid and i have to place a dropdown in the datagrid.and i have to retrieve the values from the database (sqlserver).please tell me any idea about the code.
How many types of sessions are there in asp net?
I have got less marks in bsc it So how to get interview.tell me
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)