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
How can I open ashx file in mobile?
What are client activated objects?
Explain server-side scripting?
How Session outproc in Sqlserver stored?
Difference between singleton and singlecall.
What are html helpers in asp.net?
How will you load dynamic assembly?
Explain the difference between panel and groupbox classes using .net?
Which dll handles the request of .aspx page?
How can we register exception filter globally?
Explain the steps to be followed to use passport authentication.
What is active web pages?
In which event of the page viewstate is available?
IN an ASP.NET Web application if there is any error, how can you debug?
Explain what is an abstract class?