Can session variables be accessed from code-behind?
Answer Posted / 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 View All Answers
What is difference between cache and session?
I’m having some trouble with cas. How can I diagnose my problem?
What is the difference between union and structure?
How would you implement inheritance using c#?
What are the new data controls in asp.net 2.0?
what is publisher?
How does viewstate work?
What is meant by web application?
Explain the different types of directives in .net?
How to disable disable browser's Back button in asp.net (JavaScript)?
What are client activated objects?
Is asp.net mvc still used? : Asp.Net MVC
How to create events for a control?
What is rending process in ASP.NET?
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?