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
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
What are the advantages and disadvantages of session?
Where web.config file is used?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
What is the difference between cookie and session?
What is difference between web config and global asax?
Can we override the enablepartialrendering property of the scriptmanager class?
How would you get asp.net running in apache web servers?
explain code with multi inhertance
What is the difference between client-side and server-side validations in webpages?
What is parse in asp.net?
What is difference between view state and session state?
Explain the different types of assemblies?
How can we pass info between 2 asp.net pages?
What role “#&&” plays in a querysting?