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 |
Explain RenderBody and RenderPage in ASP.Net MVC?
How does the .net framework 3.0 relate to the .net framework 2.0?
What are the derived classes from xmlReader and xmlWriter
Explain what languages does the .net framework support?
what is linq to entities?
How route table has been created in ASP.NET ASP.Net MVC?
Is any files are generated,when we are adding the web reference to the web service?
What are ajax helpers in mvc?
What is gacutil.exe. Where do we store assemblies ?
5 Answers Accenture, BirlaSoft,
What is the difference between model and entity?
can i change web.config settings from iis?
1 Answers HCL, ReadySoft, Wipro,
If we not suppress finalize method in dispose what will happen?