We use the lasso development environment. But I think the approach is
general.
We set a session variable on the page that launches the activity. The
server side updates this variable as a percentage as it performs the
activity. Then we sue AJAX.periodical to check the value for this
variable and return it to the main page for display.
Deco
On Apr 9, 2006, at 10:26 AM, Frank wrote:
Daniel,
Could you go into more depth with a coldfusion example? Like on a
windows box, what is the temp directory to check for, etc?
Any info would be greatly appreciated.
Thank You,
Frank
Daniel Elmore wrote:
From my understanding, it isn't too hard to create your own
progress reader.
When a file is submitted a HTTP Header "Content-Length" is sent,
which
tells
the size of the file in bytes. Then you can repeatedly check the
upload
status by getting the file size from the OS temp directory. All
you need
is
the total file size and the current file size to create a little
percentage
bar.
This has been done in ColdFusion very easily. Don't know if .NET is
going to
be painless.
-Daniel
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs