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


Please Help Members By Posting Answers For Below Questions

Define managed code and managed data in .net?

597


Explain what does mvc represent in asp.net? : asp.net mvc

585


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

1472


What is the page life cycle in asp.net?

642


How to bind all the binding controls in a page at once in ASP.NET?

614






Why mvc is better than asp.net? : Asp.Net MVC

559


Write a code for passing ArrayList in Web API?

1151


Why cyclomatic complexity is important?

647


Which control has default post back is enabled(true)?

693


How to comment out asp.net tags?

732


How would you enable impersonation in the web.config file?

626


How would you implement inheritance using c#?

664


What is the purpose of master page?

609


Why we are using mvc instead of asp.net? : Asp.Net MVC

603


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

670