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
Where the assembly is stored in asp.net?
What is the use of data set in asp.net?
Which validator control you use if you need to make sure the values in two different controls matched?
How is the asp.net mvc architecture different from others? : asp.net mvc
Can one dll file contains the compiled code of more than one .net language?
what cut off mark for po's,what questions they asked for interview?
Explain the difference between authentication and authorization.
What does mvc represent in asp.net? : asp.net mvc
How does u call and execute a sp in .net?
Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?
How can we inherit a static variable?
What is cookies in asp net?
What are the new features implemented in ASP.NET?
What is session mode in asp.net?
What is postback in asp net?