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 |
How big is the char ?
Is .NET a runtime service or a development platform?
Why should we go for entity framework?
What is the .net framework and how does it work?
What is GC (Garbage Collection) and how it works
Mention what is the difference between “ActionResult” and “ViewResult” ?
If you change something in web.config file.Do u need to compile again?
5 Answers Broadridge, SMNetserv,
Tell me the best web-sites for Learning the ASP DOT NET.
what is entity graph in entity framework?
What are ajax helpers in mvc?
Explain Bundle.Config in ASP.Net MVC4?
what is mean by type-safe? Please answer me. Advance thanks.