Results 1 to 6 of 6

Thread: Application and Session objects in ASP

  1. #1
    Join Date
    Feb 2010
    Posts
    118

    Application and Session objects in ASP

    Hi all,
    Application and Session objects are not directly related to the management of requests and responses, but more with the ASP pages to run environmental management-related. With the establishment of Web sites or Web applications for the common problem is that the state did not use the HTTP protocol. State provides the user with a specified value of the relevant variables, objects, and other resources, and the application can use any routine it so i need to introduction about the ASP's Application and Session objects. Please reply.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Application and Session objects in ASP

    In the single-user program, to create an executable application, such as using VB to build a. Exe file, you can declare a global (or Public) variables, and then the code can be accessed from anywhere. The application is running all the time, time value has been effective, and is accessible. For a traditional client / server solutions, such as a client-based applications to a server-based database engine to access the system, each client has established an application server and database connections. This connection is usually through the user authentication method to establish. Verification process is a typical user identification process, through a combination of user name and password to prove whether the legitimate users. If you need more information, Please reply.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Application and Session objects in ASP

    If you intend to create to interact with the user-based Web site applications, rather than the pages show only independent Web site for each user must be able to provide an independent state. This may just remember their names, may also be stored for each user object reference or a different set of records. If you can not do that, ASP pages can not do more things, because the page implementation is completed, the page variables and other related materials are destroyed. Recorded in the user request a page, this page provides all the information will all lose. Therefore, the need to find a way to preserve the state of each visitor. Can be stored for all users of the global value is very important. Check and reply.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Application and Session objects in ASP

    The page requests, and site visits to provide the state between the commonly used method is through cookie. These values along with each page request sent to a valid domain of this cookie. By using ASP reviewed and updated cookie, to some extent able to maintain a state. you can be used to identify the information contained in the user, then the user connects to a stored set of corresponding values. For example, a user can detect whether the request includes a site specific cookie. If not included, compared with the user is assigned a certain type of identity, specify a number and stored in the cookie with a long period of. The user of this site after each visit, are able to detect the cookie and update the information contained. At the same time you can gather information about the number of visits and duration of the data, and stored on the server to prepare for future use. Check and reply.

  5. #5
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Application and Session objects in ASP

    ASP application with two main related to:
    # Global scope of the provisions, with a global variable accessible storage area.
    # Through the integration of COM + and IIS can be better management of components.
    The second element relates to the other ASP objects, the corresponding wide range of its coverage. ASP provides an Application object. However, this is at the application layer rather than the user level. In other words, the object is global, not for individual users, but to all users of the application, its scope is not restricted to individual user's access. Best of luck.

  6. #6
    Join Date
    Nov 2005
    Posts
    1,323

    Application and Session objects in ASP

    As in the set-up process to create the default application procedures, can be in any subdirectory of the Web site to create their own virtual ASP applications. The application process consists of as the "Application Directory" and the definition of all the sub directories of the directory. Also, this directory and sub-folders are also part of the default applications, shared by the default Application object to create a global space. In fact, the default application for all the variables stored in subdirectories of the application are also available. However, if the subdirectory in the application an ASP page to write a value of Application object, Application object with the default application of a value already exists in the same name, then the original value in the sub - Directory application can not be reused. All the best for you.

Similar Threads

  1. Replies: 4
    Last Post: 17-01-2011, 11:14 AM
  2. Replies: 4
    Last Post: 24-12-2010, 07:58 AM
  3. Replies: 5
    Last Post: 26-02-2010, 03:21 AM
  4. What are the implicit objects in JSP?
    By Coffee in forum Software Development
    Replies: 3
    Last Post: 07-08-2009, 05:27 PM
  5. Replies: 3
    Last Post: 31-07-2009, 01:09 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,643,817.74346 seconds with 17 queries