Can session variables be accessed from code-behind?
Answer Posted / swapna
Yes. You can access the "Session" dictionary within a code-
behind file just like you would if you were accessing it
from within an line .aspx file.
For example: Session("Name") = "Scott"
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
When we use cookie less session? Explain its working?
Can you use Web API with ASP.NET Web Form?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
Where would you use an ihttpmodule, and what are the limitations if any?
Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj
What is the displayafter property in updateprogress control?
What is asp net objects?
What is meant by asp.net?
What is csrf attack in asp.net?
Name the tools or API for developing or testing web api?
Explain advantages of caching?
How many types of validators are there in asp net?
Where the viewstate is stored after the page postback?
What is application state?
What is the difference between client-side and server-side validations in webpages?