Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2006
    Location
    Cairo, Egypt
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Is there a disadvantage of disabling buffering ?

    Hello everybody ...

    We can use
    Code:
    RESPONSE.BUFFER=FALSE
    to display each part of code output immediately when executed, and don't force user to wait on a white page until all the code execute.

    The question is :
    Is there a disadvantage of using the above line of code ?

    Thank you for any response.
    Khaled Mahmoud
    Web, Flash, Games developer.
    JavaScript reference VBScript reference ASP reference

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    if you want to do a Response.Redirect in your code somewhere, you have to make sure no headers are written to the browser at that point. In that case, Response.Buffer=True might come in handy. Otherwise, i see no disadvantages in using a False value for Response.Buffer.
    I am the luckiest man in the world

  • #3
    SSJ
    SSJ is offline
    Regular Coder
    Join Date
    Mar 2007
    Posts
    230
    Thanks
    0
    Thanked 4 Times in 4 Posts


  •  

    Posting Permissions

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