Re: ASP question global.asa

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Follow-ups to: [microsoft.public.inetserver.asp.general]


Trevor L. wrote:
Global.asa is parsed when the application starts.

When is that ?

The answer was in my original post. Look for the word "restart".



I am not working locally with IIS, but writing global.asa to
my website. So does it not get read because the application
is active ?

It does not get *parsed* because you do not have an application.



(In fact, I don't really know what the application is.)

Then read my post again. Figure it out on your local IIS instance if you
need.



I thought I was only trying to execute stuff on session start,
not on application start

You asked when Global.asa is "called". I can't make the facts fit your
question for you. Global.asa is parsed when the application starts. If you
put a session start handler into it, then that event (the creation of a new
session) will fire the handler when the session starts.



So can you tell me:
What is meant by an application?

It is a sub-tree of an IIS website that has been configured as an
application.



So every time I write a new version of global.asa to my website,
the application should restart and global.asa get parsed

But nothing seems to happen

Then your Global.asa is not in the root of an application. It could not be
more clear.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.


.



Relevant Pages

  • Secure website (cookie/session)
    ... Secure a part of my website. ... access to server settings (session timeout, security,...). ... do not lose time re-submitting it because the use was redirect to the ...
    (microsoft.public.inetserver.iis.security)
  • Secure website (cookie/session)
    ... Secure a part of my website. ... access to server settings (session timeout, security,...). ... do not lose time re-submitting it because the use was redirect to the ...
    (microsoft.public.inetserver.iis.security)
  • Re: Sessions and clients
    ... I want to build a website with a certain technique, ... This entrance page gives out a random session URL. ... To see if it's the first time or not, you can't use ip addresses to check for unique users, as has been discussed recently in this newsgroup. ... You will probably have to store a cookie when it is first used, then every time after that, check for the cookie. ...
    (comp.lang.php)
  • RE: Need ASP script to Generate Unique Session ID
    ... the duration that they are on my website that way it is more secure and less ... likely that someone could guess the URL as the session ID number would only ... "Dan Thompson" wrote: ... I am trying to write a ASP script to put into my website that will generate ...
    (microsoft.public.inetserver.asp.general)
  • Re: Count visitors on my website
    ... logged in" in the original post ... without any user interaction. ... of his monitor and his session would still be open. ... You can only go on the connections. ...
    (comp.lang.php)