• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Understanding the Server Tech... > The Session, Application, and Server...

The Session, Application, and Server Objects

When a user browses through the different pages of a Web site, the Web server serves each page requested by the user without saving the information of the page it served last. This means that the information that was obtained from a user from an earlier page is lost when the next page is served in the same session. Such a transaction is named the stateless transaction. However, dynamic Web pages should be able to maintain state between two user requests in a single session. These Web pages try to maintain state by using either cookies or the Session and Application objects.

Although cookies help to preserve simple data, such as numbers and strings, they cannot preserve complex data such as arrays and objects. To preserve such complex data, you can use the Session and Application objects.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint