Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - What’s Response.Buffer = True?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

What’s Response.Buffer = True?

 Post Reply Post Reply Page  12>
Author
dolby71 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 October 2002
Location: Israel
Status: Offline
Points: 203
Post Options Post Options   Thanks (0) Thanks(0)   Quote dolby71 Quote  Post ReplyReply Direct Link To This Post Topic: What’s Response.Buffer = True?
    Posted: 21 February 2003 at 10:58am
What does Response.Buffer = True do?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2003 at 1:05pm
I've never really looked at the address bar to have noticed.
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.