how to create session in .net
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sanoop k
step 1:
creation of session variable-
Session.Add["Username"]=TextBox1.Text;
step 2:
Calling the session value-
Label.Text=Session["Username"].ToString();
| Is This Answer Correct ? | 6 Yes | 1 No |
What is CLR? How it will work?
what is entity framework?
Hi my name is sahil. i did my bsc in 2008 n did marketing jobs thereafter. bt nw i wanna learn .net to enter IT field. Ive heard deccansoft,secbad is the best inst. for .net. bt do they provide placement?? as im not a fresher so will i be hired by any company..??
Types of assemblies that can be created in dotnet ?
What are the main components of .net framework?
What is an asynchronous controller in asp.net mvc?
What is the difference between ViewData, ViewBag and TempData?
js fn to go to the particular page when enter is clicked
Which version of the common language runtime (clr) does the .net framework 3.0 use?
Can I remove .net framework?
When i am using Ajax controls (updatepanel),Is page events all are executed or only some events are executed?which page events are executed?
What is the importance of NonActionAttribute?