What is Difference between Application object and Session Object
Answers were Sorted based on User's Feedback
Answer / chandra prakash andani
Session object is user specific. A unique session id creates for every user when a user opens application. A application object is application specific. It remains the same for all the users.
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / m madar
Application object store the data till application is shut down.
Session object store the data till browser close.
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / senthil
Session objects resets when a user logs out i.e,the user
session is timmed out but applications objects are reset
when the application is uninstalled.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venkat
sessions are used to store key-value pairs.
sessions are used to identify every user who make request to web application and create the id for every user is called sessionid,sessionid will travel between every request and response using cookie.
Application object also used to store key-value pairs same like sessions.
Application object is used to share by all users,which is common for every user.
| Is This Answer Correct ? | 1 Yes | 0 No |
session is only for uniqe identified of the user
but application object is not only pertiquler person it can be used any person
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the event handlers that we can have in global.asax file?
Define satellite assemblies.
explain code with datachaching with example
What does the "EnableViewState" property do? Why would I want it on or off?
Windows Authentication (via Active Directory) and SQL Server authentication (via Microsoft SQL Server username and passwords). Which one is trusted and which one is untrusted?
What is the main difference between Asp.net and Vb.net?
Below is a code extract from an ASP.Net application. The code basically reads data from the “name” field in the “members” table and prints them onto the webpage. Using the assumptions provided, fill in the 4 blanks below so that the code will run correctly. ‘Assumptions: ‘conn_str is a variable that holds the connection string to the database ‘Objects dbcomm and dbread are already declared earlier dbcomm = New OleDbCommand("SELECT name FROM members", conn_str) dbread = dbcomm._______________ _____________________ response.write(_______________) _____________________ dbread.Close()
What is boxing and unboxing ?
7 Answers Accenture, Infosys, MedTek,
What is a 404 redirect?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
What are the steps involved to fill a dataset?
Why do we need Web Services?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)