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...

A brief difference between Session and Cookies in asp.net

Answer Posted / uday kumar vuriti

We use both Session and Cookies to maintain state between
the page postbacks. We can achieve state management using 2
ways.

1. Client Side Technique (using hidden fields, query string,
view state and Cookies)

2. Server Side Technique (using Session and Application)

Cookies will store data in client side either in browser or
in system hard disk.

Session will allocates memory in the web server and for
every user server will allocates memory. So Session is per
user based.

Is This Answer Correct ?    63 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we prevent browser from caching an aspx page?

877


What is the use of session state and application state and difference between them?

890


Explain the difference between response.redirect vs server.transfer

1110


What is globalization and localization in asp net?

936


What are the Difference between asp.net and asp ?

1089


Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?

975


What is the use of session?

912


Can you explain the basic use of dataview?

1036


Define authentication and authorization.

1048


What is _viewstart?

874


Which method is used to perform all validation at the page level?

943


How can you register a custom server control to a web page?

967


How does the iis work?

994


Differences between “dataset” and “datareader”.

998


What is a viewbag?

926