Could it be Syntax ?

Results 1 to 5 of 5

Thread: Could it be Syntax ?

  1. #1
    Crew Guest

    Default Could it be Syntax ?

    On one or two pages where I do Response.Redirect I set Response.Buffer=True at the top of the page. However I always use Option Explicit in all my pages (good housekeeping and all) and when I add buffer=true the Option Explicit line gives an error. Is there a clash with these or is it a question of order of appearance / syntax etc. ? Thanks

  2. #2
    klik Guest

    Default RE: Could it be Syntax ?

    housekeeping isnt everything i mean if it works without option explicit then i'd ditch it - i mean whats a couple of dirty dishes?

  3. #3
    New ASP Guest

    Default NO, the code works for me!!

    &#060;%@ Language=VBScript %&#062;<BR>&#060;%option explicit%&#062;<BR>&#060;%<BR>Response.Buffer = true<BR><BR>Response.Redirect("my.asp")<BR><BR>%&# 062;

  4. #4
    Join Date
    Dec 1969

    Default A clean house is a happy house

    Put <BR>Option Explicit first then Response.Buffer= True

  5. #5
    Justin Bonaparte Guest

    Default RE: A clean house is a happy house

    Yeah, like Steve said... ;-)

Posting Permissions

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