Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to create session in .net

Answers were Sorted based on User's Feedback



how to create session in .net ..

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

how to create session in .net ..

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

how to create session in .net ..

Answer / srinivasula reddy

Session["name"]="srinivasula Reddy";

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

what is connection pooling

5 Answers  


Explain bundle.config in mvc4?

0 Answers  


How do you register the dotnet component or assembly ?

1 Answers   Accenture, BirlaSoft,


What is the difference between .net core and .net framework?

0 Answers  


What is different between User Control and Web Control and Custom Control?

2 Answers  


what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?

0 Answers  


If I have multiple filters implemented, what is the order in which these filters get executed?

0 Answers  


Can we create .DLL file without using the namespace?

4 Answers  


And if they have conflicting method names ?

1 Answers  


If background completes its processing will it wait for foreground threads?

2 Answers   Kanbay,


Which are the important namespaces used in ASP.Net MVC?

0 Answers  


How to make sure Client Validation is enabled in ASP.Net MVC

0 Answers   B-Ways TecnoSoft,


Categories