Answer Posted / raja
Sessions can be used to store even complex data for the user just like cookies. Actually, sessions will use cookies to store the data, unless you explicitly tell it not to. Sessions can be used easily in ASP.NET with the Session object. We will re-use the cookie example, and use sessions instead. Keep in mind though, that sessions will expire after a certain amount of minutes, as configured in the web.config file.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
Is the COM architecture same as .Net architecture? What is the difference between them (if at all there is)?
What is the difference between imperative and interrogative code?
How do I use the thread pool?
What is func in .net 3.5?
What is typical about a windows process in regards to memory allocation in dot net?
What is managed code execution?
Please explain what is the .net framework and how does it work?
Explain re-clarification of object based in .net?
Is it true that objects don't always get destroyed immediately when the last reference goes away?
When we use windows api in .net is it managed or unmanaged code?
Explain what is immutability, what is it for and how is it codified?
What is Finalizer in .NET define Dispose and Finalize ?
Interop Services?
Can "this" be used within a static method?