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 / chinmayee mishra

SESSION: Variables are stored on the server, can hold any
type of data including references, they are similar to
global variables in a windows application and use HTTP
cookies to store a key with which to locate user's session
variables.

VIEWSTATE: Variables are stored in the browser (not as
cookies) but in a hidden field in the browser. Also
Viewstate can hold only string data or serializable objects.


CACHE: It refers to information that is reused in your
application, or information that is stored on your computer
so it can be reused. For example, if you download an image
from the internet, it's often cached so you can view it
again without downloading the image data. Caching is a form
of replication in which information learned during a
previous transaction is used to process later transactions.

To make web surfing faster, web browsers store recently
visited pages on the user’s disk. When the site is
revisited, the browser displays pages from the cache
instead of requesting them from the server. Reloading
brings up the current page from the server.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can viewstate be accessed in another page?

1098


What is server transfer?

956


What is the difference between c# and .net?

1096


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

1083


List some of the important session state modes of asp.net.

1033


What are the new features added from ASP to ASP.NET?

1155


What are the asp.net security controls?

1204


What is Bundling and Minification in MVC?

1068


What is & in a url?

1006


What does session_start () do?

1158


Explain server-side scripting and client-side scripting.

973


Explain different authentication modes in asp.net?

1224


Explain different types of Caching techniques in ASP.NET?

1051


What are the features that make asp.net more used framework? : asp.net mvc

1057


Define what is razor? : asp.net mvc

1050