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 |
Can we have enum in entity framework?
What is the main difference between VS 2005 and VS 2003?
Explain entity lifecycle? : Entity framework
Have you designed any components?
What is viewbag title?
How we can add the CSS in ASP.Net MVC?
What are the two ways to add constraints to a route?
what is conceptual model?
what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key?
What are the 2 popular asp.net mvc view engines?
What is poco proxy? : Entity framework
What is entity framework used for?