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 ssdl?
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
Why do you need to box a primitive variable
How can I return string result from action in asp.net mvc?
Is it possible to cancel filter execution?
what do you mean by navigation property?
What is objectset? : Entity framework
How do you enforce garbage collection in .NET
What is the 'page life cycle' of an ASP.NET MVC?
What is the use of trace utility ?
what is csdl?
How to answer for project questions..?