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
How do you turn off cookies for one page in your site? Give an example.
What is the use of activex control in .net?
What is a web service in .net?
What is common language specification (cls)?
Explain About GDI object ?
Explain can the validation be done in the server side? Or this can be done only in the client side?
Is .net core stable?
What method do you use to explicitly kill a users session? How?
What is garbage collection and how it works ?
Write the .net syntax for 'for loop'?
Explain the process of serialization in .NET?
What is the difference between vb.net and vc#.net?
Is .net a programming language?
Explain the difference between asp.net & vb.net and explain architecture?
How can I get at the win32 api from a .net program?