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 orm entity framework?
Where do the reference-type variables go in the RAM ?
How does CAS work
Explain what platforms does the .net framework run on?
What is net framework 3.0 ?
How to set background for total website, on that another another layer, in that we keep website data,,for example see www.msn.com. On one faded background we ll have layer like other background..Do explain how its possible
Where are the routing rules defined in an asp.net mvc application?
What is the benefit of entity framework?
What is the CTS
What does mvvm mean?
What is the difference between .net core and .net framework?
What does CLR do as soon as an assembly is created ?