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 to Separate background image and front image from original picture....

922


What is postback request?

933


How do you initiate validation on the server manually? What are two situations when you might you want to do that?

1769


What is event in asp.net?

967


What is the state management in asp.net?

972


Can I stream live content/events?

1031


What do you mean by role-based security?

944


How can exception be handled with out the use of try catch?

955


What is inproc and outproc?

944


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

1033


Explain about the .NET framework?

1015


Describe the application event handlers in ASP.NET?

997


When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?

1010


What is the exact purpose of http handlers?

971


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

936