Response.End() inside If...Then

Results 1 to 2 of 2

Thread: Response.End() inside If...Then

  1. #1
    Join Date
    Dec 1969

    Default Response.End() inside If...Then

    HI all:<BR><BR>I can&#039;t seem to get Response.End() to fire inside the structure of an IF...Then. But dumb stubborness is telling me it makes sense sometimes to use it this way. Am I banging my head against a tree?<BR><BR>If ("" & strVar) &#060;&#062; "" Then<BR> Do THis Code<BR> Response.End()<BR>Else<BR> Do this code<BR>End If<BR><BR>Is it that asp wants to work through the If..Then till the end, no matter what?<BR><BR>Thanks<BR><BR>KurtW

  2. #2
    Join Date
    Dec 1969

    Default You've got a code goof, then

    You simply must not be hitting the Response.End line. Period.<BR><BR>To prove it, convert that to <BR> Response.Write "&#060;H1&#062;DAMMIT! END!&#060;/H1&#062;"<BR><BR>and see if the message shows up. I&#039;m betting it won&#039;t.<BR><BR>

Posting Permissions

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