In which scenario we use Session and Cookies? With Example..
Answer Posted / naren
if you want to store user information on web application you can use session or cookies...
session will be stored in server and cookies will be in client...
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Define managed code and managed data in .net?
Explain what does mvc represent in asp.net? : asp.net mvc
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
What is the page life cycle in asp.net?
How to bind all the binding controls in a page at once in ASP.NET?
Why mvc is better than asp.net? : Asp.Net MVC
Write a code for passing ArrayList in Web API?
Why cyclomatic complexity is important?
Which control has default post back is enabled(true)?
How to comment out asp.net tags?
How would you enable impersonation in the web.config file?
How would you implement inheritance using c#?
What is the purpose of master page?
Why we are using mvc instead of asp.net? : Asp.Net MVC
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?