Application_AuthenticateRequest execute 4 times

From: Tony (anonymous_at_discussions.microsoft.com)
Date: 10/31/03


Date: Fri, 31 Oct 2003 06:26:56 -0800

Hi,
I've never seen similar problem before.
Application_AuthenticateRequest in Global.asax.vb file
execute 4 time before it exit to the default.vb file.
Plus, in every run, the code execution jump back to the
previous line that already been executed (I'll explain):

example :
line 1 : Sub Application_AuthenticateRequest( ....)
line 2: If (a=b) Then
line 3: a=c
line 4: End IF
line 5: ...
line 20: End Sub

the code execution run in the following direction:
 line1 then line2 , then line1 again, then line2 again.
 line 3 then line4, then line 3 again, then line4
again, .......
and it keep running this way until "End Sub".

any help would be really appreciated.



Relevant Pages

  • Re: Question Only
    ... anywhere in a procedure to end code execution, ... If you put the word End before the End Sub for test1 then it doesn't work. ... If I have dbcountry = 1 when the program comes to the word End, ...
    (microsoft.public.excel.programming)
  • Cant understand how it works......
    ... I have a report whit group/detail sections. ... Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) ... code execution starts again but myFlag is allready set to 1; ...
    (microsoft.public.access.reports)
  • Re: Mouse pointer
    ... be an hourglass during code execution and then setting it back to default ... Sub Auto_Close ... > Does anyone know how to hide the mouse pointer during a sheet update ... > where normally it would flicker even if you turn screen updating off, ...
    (microsoft.public.excel.programming)
  • Re: Cant understand how it works......
    ... >the blank line is printed only once during the report printout. ... >Public myFlag As Integer ... >Private Sub Detail_Format ... >7) code execution starts again but myFlag is allready set to 1; ...
    (microsoft.public.access.reports)
  • Re: On Error Resume Next
    ... Sub SetOnError() ... > Thanks Rob, it's clear. ... > code execution reaches another "On Error" statement that explicitly override ... >> * Take your Excel development skills to the next level. ...
    (microsoft.public.excel.programming)