thespot4sap.com independent sap information
 

get SAP Access - pay monthly

  Online SAP Training    SAP Jobs    SAP Tutorials    SAP CBT    Articles    Forums   SAP Resume
  SAP Access    SAP Books    Links     Vendor Directory     Submit Content    Search
Previous posts in SAPscript
Page 2863 of 5660

ASP buffering

Blogger : MSDN Blogs
All posts : All posts by MSDN Blogs
Category : SAPscript
Blogged date : 2006 Dec 23

Sometimes we may see a slow running ASP pages which may be due to the buffering enabled in the ASP page itself or in the IIS metabase property.

Now comes the question what this buffering is all about? Well, you can use a property of the Response object, Buffer to indicate this buffering. This property tells whether to buffer the page output. If this property is enabled (set to TRUE), the server won’t send any response to the client until all the server side scripts on the ASP page are processed, or until the Response.Flush or Response.End method is called. If it is set to FALSE, then the server sends the output to the client as and when it is processed.

Syntax

Response.Buffer = [TRUE or FALSE]

When you turn on the Response.Buffer, your page may take a little more time to get loaded in the browser. So, if your page runs very slow and you see this property enabled, try disabling this property if you don’t require this functionality in your code.

If you wonder how to enable/disable buffering on the web server level, there is a Metabase property you can set, AspBufferingOn. This is also a boolean property which behaves the same way as Response.Buffer.

Here are the official articles for them:

http://msdn2.microsoft.com/en-us/library/ms526001.aspx

http://msdn2.microsoft.com/en-us/library/ms524344.aspx

Happy Learning!


Read comments or post a reply to : ASP buffering
Page 2863 of 5660

Newest posts
New Page 1

 

 

About Us   Contact Us   Privacy   Disclaimer   Feedback   Email Discussion   Newsletter  

Copyright © - Independent SAP Information
Find a Bed and Breakfast