What is the difference between application object and
session object?
Answer Posted / sridevipc
A session is the time for which a particular user interacts
with a web application.
that data stored in session is not permanent and data
stored is usually only available to a specific user
Sessions serve as a way to transport and maintain user data
in web pages, such as forums, or e-commerce websites.
The Application object stores data that is shared accross
the application and not for a specific user. Internally the
values of both the Session and Application objects are
stored in a key/value pair (HashTable). All data stored in
Application in stored 'in process', meaning if you restart
your application all data in lost (I will show you how to
maintain all application data in another tutorial).
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is authorization in asp.net?
What is a ashx file?
What is the default timeout for a cookie?
What are the benefits of Razor View?
How do we sort the data from a dataset?
Mention the namespace that is used to include .net data provider for sql server in .net code?
Explain About WebService
8. Why do you want to work here?
Explain about asp.net 2.0 themes?
If 200 is for all successful operation then why do we have 201 response codes?
Differentiate globalization and localization.
What is the sequence in which ASP.NET events are processed?
Hi this is the coding for adding data in to an xml table
i want the coding for update and delete
Try
Dim emp_xml_doc As New XmlDocument
If
System.IO.File.Exists(Server.MapPath("emp.xml")) Then
emp_xml_doc.Load(Server.MapPath("emp.xml"))
Dim myrow_element As XmlElement
myrow_element =
emp_xml_doc.CreateElement("EmpDetails")
Dim str As String
str = "
Name the namespace which is used by ado.net?
If you are using components in your application, how can you handle exceptions raised in a component?