Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why session is necessary in web application?

968


What are navigation controls? How many navigation controls are there in ASP.NET 4.0?

960


What are the steps involved to fill a dataset?

1026


What is the difference between web.config and machine.config in ASP.NET?

1153


What is bound controls

1061


How can we call webservices in Banking Applications? and where we are using it?

2089


What is the difference between the get method () and post method ()?

985


What is hidden field in asp.net?

1113


What is the default authentication mode for asp.net?

1119


What are session objects?

1003


Explain About duration in caching technique

1063


How to rename a table using sql queries?

1104


Web API uses which library for JSON serialization?

1073


What is content place holder?

967


What is rending process in ASP.NET?

1072