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
Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?
Is .net a language?
How to implement datagrid in.net? How would you make a combo-box appear in one column of a datagrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for datagrid methods. What is the access specifier used for that methods in the code behind file and why?
Is atl redundant in the .net world?
what is dotnet architecture? can anyone explain that.
What does .net stand for?
Explain about the Common Language Runtime?
Explain how to produce an assembly?
Explain what do the terms “boxing” and “unboxing” mean?
What is msil, il?
What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?
What is clr in .net?
What is deferred execution vs. Immediate execution in linq?
Is .net capable of supporting multi-thread?
What is the native image generator?