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 |
if u add an import stmt to an application u can do the same by adding reference to the apllication then what is the diff bet these two ?
What is the use of viewmodel in mvc?
How big is the char ?
Who defines the CAS code groups
What is an asynchronous controller in asp.net mvc?
what is scalar property?
What are the ways to deploy an assembly?
Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?
Why we need a separate mobile project template, while we can render our web application in mobile ?
What are the types of assemblies and where can u store them and how ?
11 Answers Accenture, BirlaSoft, IBM,
what is client wins and store wins mode in entity framework concurrency?
exe abrevatiom