Difference between viewstate, cache, session
Answer Posted / govindarao konduri
view state:- This is common way to store the data in view state.View state is using 'hidden files' to store data.Advantage is performance.Disadvantage is if any cross post back occurs the view state will expires.
Caching:- The caching always store the resulted data.First time user send a request to server, the user required data will be stored in caching from the server.Next time onwards no need to go for server,we can get the information from the caching..
Session:- Session is very secure because it was located at server.Sessions are (2) types.
1.inproc
2.Out-process(its preferred)
*State server
*Sql server
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why session is necessary in web application?
What are navigation controls? How many navigation controls are there in ASP.NET 4.0?
What are the steps involved to fill a dataset?
What is the difference between web.config and machine.config in ASP.NET?
What is bound controls
How can we call webservices in Banking Applications? and where we are using it?
What is the difference between the get method () and post method ()?
What is hidden field in asp.net?
What is the default authentication mode for asp.net?
What are session objects?
Explain About duration in caching technique
How to rename a table using sql queries?
Web API uses which library for JSON serialization?
What is content place holder?
What is rending process in ASP.NET?