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

Explain what is viewstate?

949


How we can force all the validation controls to run?

944


Can we set master page as a start page?

983


What are the Types of object in asp

1076


What is validation in asp.net?

1026


What is http only cookie?

1028


How many types of state management are there in asp net?

998


What is the difference between viewstate and hidden field in asp.net?

1007


Explain the difference between asp and asp.net?

965


What is Pre-Render event in ASP.NET?

1081


What are the types of validation in asp net?

983


Define static constructor?

967


Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

971


What is the default Orientation property in a Menu control?

1005


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

978