Retrieving variables from application object
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Retrieving variables from application object
When you have used Application Object, all ASP pages can store and retrieve information.http://www.devtutorials.info/article/6_Storing_and_retrieving_variables_from__application_...
Total Hits: 2721
Total Votes: 24 votes
Category: ASP/Cookies and Sessions
Submitted on: 2008-03-06 08:45:10
Submitted By: Devesh Khanna
Description:
In this tutorial, we will take a look at Application Object. When you've used Application Object, all ASP pages can store and retrieve information. The information in Application Object stored in server and all ASP pages can access the information. The main diffrences between Session Object and Application Object is Application Object stores information in server memory.Example:
Let's store some information:
Application("SiteName") = "Developer Tutorials"
Let's retrieve information from object :
SiteName = Application("SiteName")
When we need to use Application Object:
Common usage of Application Object is to share information in all sessions. As we have examined in our sample code,
we put our site name in an oapplication object named as SiteName and shared it all pages calling our SiteName object. More detail...
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |





16.67%

16.67%

16.67%

16.67%

16.67%