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
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
Why we go for mvc instead of asp.net? : Asp.Net MVC
Can asp.net work on an nt server?
What is autopostback in dropdownlist in asp net?
How do you remove duplicates without using remove duplicate stage?
What is the caspol.exe tool used for?
Can you set the session out time manually?
What is validation in asp.net?
What is the use of dispose method?
how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool
Is oauth for authentication or authorization?
Explain swagger components.
What is GAC in ASP.NET 2.0
What are the difference between function and stored procedure in .net programming language?
What is the parent class of all the web server control?