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 |
Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?
what happened when type url in address bar and press enter?
mention what is the key advantage of using entity framework or ef?
explain why t4 entity is important in entity framework?
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
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?
What is IL
What is presentation framework?
Can you explain renderbody and renderpage in mvc?
Is entity framework slow?
How do you do role based security ?
1 Answers Accenture, BirlaSoft,