If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Load Page after process all code

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-11-04, 20:21
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
Load Page after process all code

Hey Guys,

If I remember correctly, there is a command to specifiy that the ASP page is process completely (e.g. page does not load until it reads the last code in the asp page) first before loading the entire page.

Can anyone tell me the command???
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )
Reply With Quote
  #2 (permalink)  
Old 01-11-04, 20:30
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Response.Buffer

Is that what you were looking for??
Reply With Quote
  #3 (permalink)  
Old 01-11-04, 20:33
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
So doing that will be sufficient?
man, my googling skills are degrading....
can u direct me to any good sites to explain this things?
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )
Reply With Quote
  #4 (permalink)  
Old 01-11-04, 20:37
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Response.Buffer will stop the sending of any HTML out until the entire page has finished being build.

So at the start of your page you have

Response.Buffer = True

then when you have finished your page you have

Response.Flush

You can also use Response.Clear to remove anything already in the buffer.

Not sure of any decent sites to explain exactly how this all works....
Reply With Quote
  #5 (permalink)  
Old 01-11-04, 20:48
Patrick Chua Patrick Chua is offline
Registered User
 
Join Date: Jul 2003
Location: Penang, Malaysia
Posts: 212
Thanks. Will test it out.
__________________
Patrick Chua
LBMS ( Learn By My Self) NPQ ( No paper Qualification )
Reply With Quote
  #6 (permalink)  
Old 01-11-04, 21:49
MrWizard MrWizard is offline
Registered User
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 191
Quote:
Originally posted by Patrick Chua
Thanks. Will test it out.
If you type "response.buffer" into google.... or for that matter, any ASP command... you will get a whole host of sites that explain these things. One I like is devguru.com, another is asp101.com.

And I liked the explanations on www.aspronline.com/learn/lessons/4/2.asp


Tim
__________________
Tim

Last edited by MrWizard; 01-11-04 at 21:51.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On