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
What are the types of authentication in asp.net?
Are cookies client side or server side?
Fetch one page value to another page without using state-managment ?
Can you use Web API with ASP.NET Web Form?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
Can user control be stored in library?
What is the difference between sealed vs static class?
When should I use server transfer and response redirect?
What is difference between session and cookies in asp net?
Explain what are the advantages of asp.net mvc framework? : asp.net mvc
What is difference between session and cookies?
Explain the difference between webfarm and webgardens in .net?
What are merge modules?
What are the benefits of view state?
How can we provide the WebParts control functionality to a server control?