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
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What is the typical session identifier?
What is data caching?
What is the good practice to implement validations in aspx page?
What asp.net control can embed xaml into asp.net pages?
What is session mode in asp.net?
What is webresource axd?
What are the page life cycle events?
To wrap up a call to a Web service the standard used is..?
What parameters can you pass in the url of the api?
Where the viewstate is stored after the page postback?
Explain how asp.net different from asp?
Does web services support data reader like pom project?
What are the different types of proxy patterns?
What is viewstate in asp net with example?