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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is another word for redirect?

992


What is the procedure to create the environment for asp.net? : asp.net mvc

1115


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1092


Why is it preferred to not use finalize for clean up?

1039


How many types of sessions are there in asp net?

1045


Define static member?

1039


What are custom user controls in asp.net?

1055


How to prepare culture-specific formatting in .net.

1073


What is autopostback in asp net?

1084


What is a 307 redirect?

954


Is data edited in the Repeater control?

1083


Why is global asax is used for?

1134


Difference between Response.redirect vs server.transfer?

1249


How do u deploy your asp.net application?

1101


How to prevent client side validation from the ASP.NET validation controls?

1151