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
Define the types of configuration files.
Is asp.net outdated?
How can I configure asp.net applications that are running on a remote machine?
What is the difference between exe and dll?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
What is asp.net response object?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
What does asp stand for in asp.net?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
Why should i prefer JSP over asp.net or any other web development language..??
What is mvc in angular?
How can you handle unmanaged code exceptions in asp.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?
What is the full meaning of asp.net?