how to create session in .net

Answer Posted / albert abraham arunkumar

Session can be created using the keyword "Session" as follows:


Session["username"]=txtusername.text

This username will be kept till this current session is expired.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain what does .edmx file contains?

828


Explain the new features added in version 4 of mvc (mvc4)?

752


Describe the roles of clr in .net framework.?

834


How we can add the css in mvc?

785


what do you mean by navigation property?

780


What is the use of the default route?

775


Will there be a .net compact framework 3.0 release with release of .net framework 3.0?

740


What is edm in entity framework?

727


what is scalar property?

808


What is Separation of Concerns in ASP.NET ASP.Net MVC?

798


The order of the filters that get executed, if the multiple filters are implemented?

805


Which are the important namespaces used in mvc?

900


What is the use of view model in asp.net mvc?

867


What is the .net framework 3.0 (formerly winfx)?

730


I want ask from plz smaple example code for Biztalkk server

1920