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
How to Separate background image and front image from original picture....
What is postback request?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
What is event in asp.net?
What is the state management in asp.net?
Can I stream live content/events?
What do you mean by role-based security?
How can exception be handled with out the use of try catch?
What is inproc and outproc?
How can you handle unmanaged code exceptions in asp.net?
Explain about the .NET framework?
Describe the application event handlers in ASP.NET?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
What is the exact purpose of http handlers?
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?