| State the difference between a Session and an Application |
| Last Update: September 19, 2008 Asked by: lakshminarayanan |
| ecember 20, 2006 05:55:09 | #1 | ||
| RE: State the difference between a Session and an Appl... | |||
| 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. Â Â But for application object the id is maintained for whole application.it doesn't differ | |||
| | |||
| December 24, 2006 02:50:03 | #2 | ||
| shree | |||
| RE: State the difference between a Session and an Appl... | |||
| 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. | |||
| | |||
| January 11, 2007 14:05:27 | #3 | ||
| roopali | |||
| RE: State the difference between a Session and an Appl... | |||
| application state is a state where we hav the information that is global for the application, where as session state is a state which is maintained as a per-client basis. whenever a user first accesses a page a session id is generated by asp.net. that session id is then transmitted between the client and the server via Http either with the help of client-side cookies or encoded in a mangled sessions of the urls. so the next time the users accesses,state associated with that session id can be viewed or modified. | |||
| | |||
| February 19, 2007 16:00:15 | #4 | ||
| yv_harish | |||
| RE: State the difference between a Session and an Appl... | |||
| Question is vague......It should be.......According to the answers poated What is the difference between Session object and Application object? | |||
| | |||
| September 19, 2008 09:32:21 | #5 | |||||||||||||
| Inturi | Member Since: September 2008 Contribution: 2 | |||||||||||||
| RE: State the difference between a Session and an Application | ||||||||||||||
| 1) Application object is created when first request comes to the web server related the web application. Inside the application sessions will be created.
| ||||||||||||||
No comments:
Post a Comment