Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Server side progress bar


Message #1 by Arundhati Bopardikar <Bopardikar@Q...> on Mon, 4 Mar 2002 09:37:45 -0800
This is a multi-part message in MIME format.

--Boundary_(ID_6SpOWWq1POxtsts3NR59HA)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit

What you need to do is to turn buffering off.
Then when you building your results put it into string.
Once you build one record send some Javascript to the client that will
update your progress bar.
When you finished to build you string just delete you progress bar and send
the string result instead.

This is an algorithm I don't remember where I found it but there was some
article about it.
You can try to look for it on some ASP websites.

Hope this would help.

Oleg.
  -----Original Message-----
  From: Arundhati Bopardikar [mailto:Bopardikar@Q...]
  Sent: March 04, 2002 12:38 PM
  To: javascript
  Subject: [javascript] Server side progress bar


  Hi,

  In my project I have to run a process on the server side which takes a few
minutes to complete. I want to show a progress bar to clients which
indicates the status of the process. I know Javascript supports progress
bars on the client side.. is it possible to show something similar from the
server side?

  I would really appreciate any help...

  Regards,
  Arundhati
$subst('Email.Unsub').


  Return to Index