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 do you mean by caching in asp.net?
Give 2 examples for scenarios when routing is not applied?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
What is a SESSION and APPLICATION object?
What are the asp.net 2.0 features?
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?
Explain the purpose of storyboard.targetproperty.
What is the default Orientation property in a Menu control?
Name the tools or API for developing or testing web api?
What are sql notifications and sql invalidations?
What is the usie of activex control in .net?
What are url fragments?
Explain the server control events of asp.net ?
how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly
When Cookies are expired in ASP.NET?