Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Application and Session objects in ASP

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-03-2010
Member
 
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.

Reply With Quote
  #2  
Old 06-03-2010
Member
 
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.
Reply With Quote
  #3  
Old 06-03-2010
Member
 
Join Date: May 2008
Posts: 2,008
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.
Reply With Quote
  #4  
Old 06-03-2010
Member
 
Join Date: Apr 2008
Posts: 2,001
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.
Reply With Quote
  #5  
Old 06-03-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
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.
Reply With Quote
  #6  
Old 06-03-2010
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Application and Session objects in ASP"
Thread Thread Starter Forum Replies Last Post
Difference between root session and standard user session in gimp Gajagamini Operating Systems 4 17-01-2011 11:14 AM
Windows 7 console session becomes unresponsive after Remote desktop session Krishanu Networking & Security 4 24-12-2010 07:58 AM
How to establish Session Data Bridge between the Asp and Asp.Net Application Arumugan Software Development 5 26-02-2010 03:21 AM
What are the implicit objects in JSP? Coffee Software Development 3 07-08-2009 05:27 PM
FTP problem - unable to make the session state request to the session state server. Benito Software Development 3 31-07-2009 01:09 PM


All times are GMT +5.5. The time now is 03:04 AM.