understanding server-side management

understanding server-side management

server-side management:-

server side management

server-side management

application:-

  • it provides methods for storing information which can be accessed globally.
  • The Application object is used to store and access variables from any page, just like the Session object.
  • it provides a mechanism for storing data that is accessible to all code running within the web application.

—> advantages:-

  • simple implementation
  • application state is easy to use
  • application scope

—> disadvantages:-

  • limited durability
  • resources requirements

session:-

  • asp.net allows programmers to keep any type of objects in session.
  • for example, When you are working with an application on your computer, you open it, do some changes and then you close it. This is much like a Session. The computer knows who you are and It knows when you open the application and when you close it. but there is one problem on the internet: the web server does not know who you are and what you do, because the HTTP address doesn’t maintain state.
  • so, this problem solved by ASP. asp creating a unique cookie for each user. The cookie is sent to the user’s computer and it contains information that identifies the user. This interface is called the Session object.
  • every client that uses the application will have separate sessions.

advantages:-

  • simple implementation
  • session-specific events
  • data persistence
  • cookieless support

disadvantages:-

  • performance considerations

database:-

  • the database enables you to store a large amount of information pertaining to state in your web application.

advantages:-

  • security
  • storage capacity
  • data persistence

disadvantages:-

  • complexity













Reply