A brief difference between Session and Cookies in asp.net
Answer Posted / johny shaik
cookie
cookie is client side state management technique and it is a "small information which is stored on the browser in plain text format" cookie is created on the server and stored on the browser.
session
session is server side state management technique and "is used to maintain the state of the response on the server upto particular time period" and default time out o session is 20 minutes. session is created on the server and session id is stored on the browser in form of cookie...
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain different types of Caching techniques in ASP.NET?
What is session object? Describe in detail.
What is web router?
Can you explain how ASP.NET application life cycle and page life cycle events fire?
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
Can we set master page as a start page?
How to unit test Web API?
What is difference between or and orelse?
what is DLL Hell and how it is solved in .NET? please explain clearly??
What are the different web pages?
Explain security types in asp.net?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
Name the namespace which is used by ado.net?
What is http only cookie?
Fetch one page value to another page without using state-managment ?