Difference between application and session ?
Answer Posted / maneesh upadhyay
the session object is used to maintain the session of each
user. If one user enter in to the application then they get
seesion id if he leaves from the application then the
session id is deleted.If they again enter in to the
application they get different session id.
sessions allows information to be stored in one page and
accessed in another,and it supports any type of
object,including your own custom data types.
Application state allows you to store global objects that
can be accessed by any client.
The coomon thing b/w session and application is both
support the same type of objects,retain information on the
server, and uses the same dictionary -based syntax.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
In which event of the page viewstate is available?
Why web api is better than wcf?
How many validators do ASP.NET have?
Explain how does asp page work?
Which .NET framework supports Web API?
What is cached data phone?
What are the various types of cookies in asp.net?
Explain an object, class and method.
What is bound controls
Can you explain one critical mapping?
How would you turn off cookies on a page of a website?
What is difference between web api and web services?
What are the types of caching in asp.net?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.