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 page request in asp.net?
What are cookies in your browser?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
Explain the difference between web user control and web custom control?
What is asp.net and how it works?
How asp.net mvc differs from asp.net web forms? : asp.net mvc
How you can access the values from the Repeater control in ASP.NET?
Which authentication uses a combination of windows and iis authentication?
What is s2s tracking?
How is mvc different from asp.net? : Asp.Net MVC
What a diffgram is, and a good use for one?
Explain page output caching?
Is asp.net and .net same?
Distinguish between Server-side and Client-side code with its functionality?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?