Print Page | Close Window

What’s Response.Buffer = True?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=384
Printed Date: 29 March 2026 at 2:56am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: What’s Response.Buffer = True?
Posted By: dolby71
Subject: What’s Response.Buffer = True?
Date Posted: 21 February 2003 at 10:58am
What does Response.Buffer = True do?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 21 February 2003 at 11:02am

It buffers the server response so the full asp file is processed before anything is sent to the server.

In some situaltions where an asp script may run for a perlonged time it is worth turrning this off so you can display a message to the user while the script is being processed.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: MadDog
Date Posted: 21 February 2003 at 11:27am
It also makes it so if you do a response.redirect the redirect page url changes to the new page url in the address bar.

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: WebWiz-Bruce
Date Posted: 21 February 2003 at 12:18pm
You can do a redirect whether the response buffer is on or not, you just need to do the redirect before any HTML is written as the redierct command is sent in the header and is seen by the web browser as the same as a 303 object moved.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: MadDog
Date Posted: 21 February 2003 at 12:20pm
Yes i know that. Im just saying, if you redirect and dont have the Response.Buffer = True then the new page url doesnt change. Its still the old page.

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: WebWiz-Bruce
Date Posted: 21 February 2003 at 1:05pm
I've never really looked at the address bar to have noticed.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: MadDog
Date Posted: 21 February 2003 at 1:07pm

Originally posted by -boRg- -boRg- wrote:

I've never really looked at the address bar to have noticed.



-------------
http://www.iportalx.net" rel="nofollow">


Posted By: MorningZ
Date Posted: 21 February 2003 at 3:55pm
Originally posted by MadDog MadDog wrote:

Yes i know that. Im just saying, if you redirect and dont have the Response.Buffer = True then the new page url doesnt change. Its still the old page.

thats not the behavior 100% of the time...

-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: MadDog
Date Posted: 21 February 2003 at 4:07pm

Originally posted by MorningZ MorningZ wrote:

Originally posted by MadDog MadDog wrote:

Yes i know that. Im just saying, if you redirect and dont have the Response.Buffer = True then the new page url doesnt change. Its still the old page.

thats not the behavior 100% of the time...

ok then, 99.99% =P

p.s. Borg, you really need a tonge smile face =P



-------------
http://www.iportalx.net" rel="nofollow">



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net