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 latest version of asp.net mvc? : Asp.Net MVC
How many types of validators are there in asp net?
Do you know caching feature?
How to prevent client side validation from the ASP.NET validation controls?
What does postback mean?
Explain diff. Between friend and protected friend?
What is a web based system?
What is the difference between cookie and session?
Define application state variable and session state variable?
What is autopostback in asp net?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????
What are session objects?
What is session authentication?
What is the difference between c# and .net?
What is the use of global.asax file?