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...


Can session variables be accessed from code-behind?

Answers were Sorted based on User's Feedback



Can session variables be accessed from code-behind?..

Answer / swapna

Yes. You can access the "Session" dictionary within a code-
behind file just like you would if you were accessing it
from within an line .aspx file.

For example: Session("Name") = "Scott"

Is This Answer Correct ?    16 Yes 3 No

Can session variables be accessed from code-behind?..

Answer / gggg

" YES "

simply take 2 websites

for example in 1st website..... u have a textbox1

on page load()
--------------
Session["name"]=textBox1.Text;

in 2nd website..........

on page load()
-------------

Response.Write(Session["name"]);



definatly u will get the ans ,, whatever u entering in the
textbox1 in 1st website that will displat in 2nd website

Is This Answer Correct ?    12 Yes 10 No

Post New Answer

More ASP.NET Interview Questions

Do I need to have the latest version of windows media player installed?

0 Answers  


Why asp.net is used?

0 Answers  


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

0 Answers  


what is view state and its use

10 Answers   DELL, Efextra, HCL,


What is the difference between a page theme and a global theme?

0 Answers  


How to bind all the binding controls in a page at once in ASP.NET?

0 Answers   Viscus Infotech,


Why web api is better than wcf?

0 Answers  


What are Themes? What is their use ?

1 Answers  


Explain about solution explorer window?

0 Answers  


What is localhost in asp.net?

0 Answers  


What is the Global ASA(X) File?

2 Answers  


Define view state.

0 Answers  


Categories