IIS Application Variable Problem

Ask a Question related to ASP, Design and Development.

  1. #1

    Default IIS Application Variable Problem

    I have an ASP based application that in the default.asp
    sets a run at server variable of Application("Value") = 0
    in Application_OnStart. Among other things in the
    Session_OnStart their is the code Application("Value")=CInt
    (Application("Value"))+1. I have two Workstations running
    Windows XP Pro that when the the default.asp is run (IE6)
    this variable is incremented not by one but two or more.
    The Session_OnEnd is supposed to decrement but instead
    increments. No viruses, spyware etc. have been found.
    Anyone have any ideas. Running Win2k/IIS5. All service
    packs and security patches have been applied. I'm at a
    loss as to what is going on.

    Kenneth W. Freo Guest

  2. Similar Questions and Discussions

    1. Application Variable Timeout
      By default Application variables timeout after 2 days. Does this mean that once set they will last 2 days and then they will be deleted regardless,...
    2. Cant set CCW in ASP Application variable
      I have a managed object that I want to use from an existing ASP (classic, not .net) application. The object contains a cache and may be accessed...
    3. Reading application variable during modification
      From: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/htm/ref_vbom_reqocsv.asp it appears that Application.Lock prevents...
    4. character limitation of an application variable
      Does anyone know the character limitation of an application variable ?? How much can one hold ? Will it give an error if it gets too big ? etc...
    5. Application variable not persisting
      Hi, For some reason your application shutdown between the assignment and retrieval of the value to the session. I need to see some code in order...
  3. #2

    Default Re: IIS Application Variable Problem

    This code you're talking about is in global.asa, correct? Post the contents
    of that file.

    Ray at work

    "Kenneth W. Freo" <kwfreo@swbell.net> wrote in message
    news:077a01c39403$a9f6c380$a001280a@phx.gbl...
    > I have an ASP based application that in the default.asp
    > sets a run at server variable of Application("Value") = 0
    > in Application_OnStart. Among other things in the
    > Session_OnStart their is the code Application("Value")=CInt
    > (Application("Value"))+1. I have two Workstations running
    > Windows XP Pro that when the the default.asp is run (IE6)
    > this variable is incremented not by one but two or more.
    > The Session_OnEnd is supposed to decrement but instead
    > increments.

    Ray at Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139