Results 1 to 10 of 10

Thread: Global.asa location

  1. #1

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642

    Global.asa location

    where am i going to put global.asa file? my folder is under the folder web, wherein web is under wwwroot.

    wwwroot
    ---- Web
    --------- myFolder
    --------------images
    --------------scripts
    Last edited by eimroda; Oct 5th, 2002 at 12:39 AM.
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


  2. #2
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    hi

    Generally the Global.asa file shd be in the root folder of the site.

  3. #3

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642
    so will it be in the wwwroot folder? or in web?
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


  4. #4
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    hi

    I think its the wwwroot folder.

  5. #5
    Hyperactive Member ashay's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai,India
    Posts
    278

    Re: hi

    Originally posted by veryjonny
    I think its the wwwroot folder.
    hi,

    in ur case it shud be in the Web folder....

    regds,
    ashay
    "If you should die before me, ask if you could bring a friend."
    - Stone Temple Pilots

  6. #6

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642
    Thank yo ufor the answers guys. but hey, I'm confused now. which is which? any third party idea pls?
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


  7. #7
    Hyperactive Member ashay's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai,India
    Posts
    278
    hi eimroda,

    ur global.asa file shud be in the web folder

    regds,
    ashay
    "If you should die before me, ask if you could bring a friend."
    - Stone Temple Pilots

  8. #8
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    It depends on which is set in IIS as the app but usualy it is the one deeper than wwwroot (so web in your example). One way to find out is to set a session variable in teh global then check to see it is exists.
    Michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  9. #9
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Use ISM to look at your web applications. Global.asa goes into the root folder of a web application. You can have multiple web applications per web server if you are running a Windows Server OS. The root folder of a web application is user defined - it can go anywhere you put it. IIS default to a single root web application at C:/inetpub/wwwroot/ or so, but for security and/or performance issues, this really shouldn't be left at the default.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  10. #10

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642

    RESOLVED!

    Thank you guys!!!!
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


Posting Permissions

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



Click Here to Expand Forum to Full Width