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


Please Help Members By Posting Answers For Below Questions

Define the types of configuration files.

721


Is asp.net outdated?

711


How can I configure asp.net applications that are running on a remote machine?

761


What is the difference between exe and dll?

772


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

679


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

1007


What is asp.net response object?

770


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

1845


What does asp stand for in asp.net?

705


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

5285


Why should i prefer JSP over asp.net or any other web development language..??

1695


What is mvc in angular?

734


How can you handle unmanaged code exceptions in asp.net?

742


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?

712


What is the full meaning of asp.net?

700