application object and scope

Results 1 to 3 of 3

Thread: application object and scope

  1. #1
    Mark Aurit Guest

    Default application object and scope

    OK, here is my question that someone has to answer immediately: how do I disable the BACK button (just kidding, just kidding).<BR><BR>I use global.asa in the root folder of my site to place some strings into the application object. However, my virtuals under the root cannot see the strings. Is this the correct behavior (not seeing items in application in virtuals), and if not what am I doing wrong? And if it is the correct behavior, is there a way around it? I sure dont want to place copies of global.asa in each of my virtuals that execute scripts, but placing the items in includes is equally bad.<BR>Thanks much, Mark<BR><BR> <BR>global.asa sets Application("mycar")="Ford"<BR>response.write Application("mycar")&#039; shows Ford<BR> virtual_folder<BR>response.write Application("mycar") &#039; shows nothing<BR><BR>

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: application object and scope

    Are you talking about the same application or another application/project?<BR><BR>

  3. #3
    Mark Aurit Guest

    Default RE: application object and scope

    Its all part of the same web site, the same application. The virtual is under the root for the site. Another example based on my placing an array in application (using global.asa in the root folder)<BR>
    oot folder<BR>isarray(array_name) &#039; True<BR>virtual folder<BR>isarray(array_name) &#039; False

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts