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
Why do we use asp.net?
there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?
What is dynamic web page with example?
Which protocol is used to call web service?
What is the behavior of a Web browser when it receives an invalid element?
What is the difference between Session and response.Redirect?
What language does asp.net use?
What is asp according to you?
What are the differences between application object and session object?
How to find last error which occurred?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is the significance of attaching a profile while creating a user?
What is preprocessor in .net and type, where it use?
How can you apply a theme to your asp.net application?
What is the main difference between Asp.net and Vb.net?