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 difference between abstract class and an interface?
What is the difference between CC and BCC?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
Explain how do you deploy your asp.net application?
How would you enable impersonation in the web.config file?
What does session_start () do?
How is session id generated?
Explain the difference between server control and html control.
How use Xml data in ASP.net?
What is the difference between user control an custom control?
What is Web Server Control Templates.?
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?
What is session and application variable in asp net?
What is meant by server side scripting?