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 do you mean by table-per-type?
What are the components of the .net framework.
Explain the .net framework.
Is .net core replacing .net framework?
What are scaffold templates in mvc?
How do I install .net framework?
Can Static Constructor be Overloaded?Justify it?
How to Insert a TextBox value in to Sql database using C#.Net coding
What are the Main Features of .NET platform
I can't be bothered with all this CAS stuff. Can I turn it off
What is a view engine?
How route table is created in ASP.NET MVC?