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 msl?

0 Answers   Microsoft,


Which version of .net framework is installed?

0 Answers  


How do you initiate a string without escaping each backslash ?

1 Answers  


Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?

0 Answers   B-Ways TecnoSoft,


mention what is the key advantage of using entity framework or ef?

0 Answers   Microsoft,


What does CLR do as soon as an assembly is created ?

2 Answers   MMTS,


How does �side by side� work for the .net framework 3.0?

0 Answers  


Is it possibe to run 2 aplication on single m/c, one App is on .Net Framework 1.0 and another one is on .Net Fremework 2.0?

7 Answers  


What is attribute routing in mvc?

0 Answers  


What is route config?

0 Answers  


Why do you need to box a primitive variable

1 Answers  


What is entity framework in asp net?

0 Answers  


Categories