473,507 Members | 8,022 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Example of Streaming response to client???

Could you give me an example of streaming a page to the client?

Thanks.

Larry Woods
Jul 19 '05 #1
7 2457
here ya go
http://www.darkfalz.com/1098/
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Larry Woods" <la***@lwoods.com> wrote in message
news:#z**************@TK2MSFTNGP11.phx.gbl...
Could you give me an example of streaming a page to the client?

Thanks.

Larry Woods

Jul 19 '05 #2
Curt,

Thanks for the quick response but I don't think that is what I am looking
for. My situation is that I am generating data verrrry sloooowly on the
server and I want the client to see the data as it is being created (i.e.,
streamed), instead of waiting until all of the data is generated.

Larry Woods

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:u2****************@tk2msftngp13.phx.gbl...
here ya go
http://www.darkfalz.com/1098/
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Larry Woods" <la***@lwoods.com> wrote in message
news:#z**************@TK2MSFTNGP11.phx.gbl...
Could you give me an example of streaming a page to the client?

Thanks.

Larry Woods


Jul 19 '05 #3
MN
"Larry Woods" <la***@lwoods.com> wrote in message news:<O7**************@TK2MSFTNGP10.phx.gbl>...
Curt,

Thanks for the quick response but I don't think that is what I am looking
for. My situation is that I am generating data verrrry sloooowly on the
server and I want the client to see the data as it is being created (i.e.,
streamed), instead of waiting until all of the data is generated.

Larry Woods

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:u2****************@tk2msftngp13.phx.gbl...
here ya go
http://www.darkfalz.com/1098/
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Larry Woods" <la***@lwoods.com> wrote in message
news:#z**************@TK2MSFTNGP11.phx.gbl...
Could you give me an example of streaming a page to the client?

Thanks.

Larry Woods



At the top of your script set response.buffer = true, you can then
periodically use response.flush to send any buffered output to the
user.

Alternatively you could generate your data more quickly :)
Jul 19 '05 #4
Interestingly enought you can use a button (<INPUT value="Progress: 10%">)
and modify the value and size during a page load by embedding javascript
calls to change the button properties.
Note that tables will not be rendered as visible until *all* the table HTML
has been streamed - if you are building a table then consider each row as a
seperate table (set padding to zero etc.) Note that the table widths may not
match unless you use explicit widths and set:

style="overflow: hidden"

Chris.

"MN" <it**********@hotmail.com> wrote in message
news:ad**************************@posting.google.c om...
"Larry Woods" <la***@lwoods.com> wrote in message

news:<O7**************@TK2MSFTNGP10.phx.gbl>...
Curt,

Thanks for the quick response but I don't think that is what I am looking for. My situation is that I am generating data verrrry sloooowly on the
server and I want the client to see the data as it is being created (i.e., streamed), instead of waiting until all of the data is generated.

Larry Woods

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:u2****************@tk2msftngp13.phx.gbl...
here ya go
http://www.darkfalz.com/1098/
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Larry Woods" <la***@lwoods.com> wrote in message
news:#z**************@TK2MSFTNGP11.phx.gbl...
> Could you give me an example of streaming a page to the client?
>
> Thanks.
>
> Larry Woods
>
>


At the top of your script set response.buffer = true, you can then
periodically use response.flush to send any buffered output to the
user.

Alternatively you could generate your data more quickly :)

Jul 19 '05 #5
Speed... Yeh, I know. Can't control that, though. It's coming in from
another server.

Thanks.

Larry Woods

"MN" <im***********@hotmail.com> wrote in message
news:ad**************************@posting.google.c om...
"Larry Woods" <la***@lwoods.com> wrote in message

news:<O7**************@TK2MSFTNGP10.phx.gbl>...
Curt,

Thanks for the quick response but I don't think that is what I am looking for. My situation is that I am generating data verrrry sloooowly on the
server and I want the client to see the data as it is being created (i.e., streamed), instead of waiting until all of the data is generated.

Larry Woods

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:u2****************@tk2msftngp13.phx.gbl...
here ya go
http://www.darkfalz.com/1098/
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Larry Woods" <la***@lwoods.com> wrote in message
news:#z**************@TK2MSFTNGP11.phx.gbl...
> Could you give me an example of streaming a page to the client?
>
> Thanks.
>
> Larry Woods
>
>


At the top of your script set response.buffer = true, you can then
periodically use response.flush to send any buffered output to the
user.

Alternatively you could generate your data more quickly :)

Jul 19 '05 #6
Thanks, Chris,

Not that I'm lazy or anything, but...could you give me a little more info on
how to implement the progress button?

Larry Woods

"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:uP**************@TK2MSFTNGP10.phx.gbl...
Interestingly enought you can use a button (<INPUT value="Progress: 10%">)
and modify the value and size during a page load by embedding javascript
calls to change the button properties.
Note that tables will not be rendered as visible until *all* the table HTML has been streamed - if you are building a table then consider each row as a seperate table (set padding to zero etc.) Note that the table widths may not match unless you use explicit widths and set:

style="overflow: hidden"

Chris.

"MN" <it**********@hotmail.com> wrote in message
news:ad**************************@posting.google.c om...
"Larry Woods" <la***@lwoods.com> wrote in message

news:<O7**************@TK2MSFTNGP10.phx.gbl>...
Curt,

Thanks for the quick response but I don't think that is what I am looking for. My situation is that I am generating data verrrry sloooowly on the server and I want the client to see the data as it is being created (i.e., streamed), instead of waiting until all of the data is generated.

Larry Woods

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:u2****************@tk2msftngp13.phx.gbl...
> here ya go
> http://www.darkfalz.com/1098/
>
>
> --
> ----------------------------------------------------------
> Curt Christianson (Software_AT_Darkfalz.Com)
> Owner/Lead Designer, DF-Software
> http://www.Darkfalz.com
> ---------------------------------------------------------
> ..Offering free scripts & code snippits for everyone...
> ---------------------------------------------------------
>
> "Larry Woods" <la***@lwoods.com> wrote in message
> news:#z**************@TK2MSFTNGP11.phx.gbl...
> > Could you give me an example of streaming a page to the client?
> >
> > Thanks.
> >
> > Larry Woods
> >
> >
>
>


At the top of your script set response.buffer = true, you can then
periodically use response.flush to send any buffered output to the
user.

Alternatively you could generate your data more quickly :)


Jul 19 '05 #7
Hi Larry,

Not sure if this can help:

Javascript - progress bar
http://www.webconcerns.co.uk/javascr...rogressbar.asp

Regards,

Felix Wu
========
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "Larry Woods" <la***@lwoods.com>
| References: <#z**************@TK2MSFTNGP11.phx.gbl>
<u2**************@tk2msftngp13.phx.gbl>
<O7**************@TK2MSFTNGP10.phx.gbl>
<ad**************************@posting.google.com >
<uP**************@TK2MSFTNGP10.phx.gbl>
| Subject: Re: Example of Streaming response to client???
| Date: Fri, 11 Jul 2003 09:40:38 -0700
| Lines: 76
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#7**************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.inetserver.asp.general
| NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:245783
| X-Tomcat-NG: microsoft.public.inetserver.asp.general
|
| Thanks, Chris,
|
| Not that I'm lazy or anything, but...could you give me a little more info
on
| how to implement the progress button?
|
| Larry Woods
|
| "Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
| news:uP**************@TK2MSFTNGP10.phx.gbl...
| > Interestingly enought you can use a button (<INPUT value="Progress:
10%">)
| > and modify the value and size during a page load by embedding javascript
| > calls to change the button properties.
| > Note that tables will not be rendered as visible until *all* the table
| HTML
| > has been streamed - if you are building a table then consider each row
as
| a
| > seperate table (set padding to zero etc.) Note that the table widths may
| not
| > match unless you use explicit widths and set:
| >
| > style="overflow: hidden"
| >
| > Chris.
| >
| > "MN" <it**********@hotmail.com> wrote in message
| > news:ad**************************@posting.google.c om...
| > > "Larry Woods" <la***@lwoods.com> wrote in message
| > news:<O7**************@TK2MSFTNGP10.phx.gbl>...
| > > > Curt,
| > > >
| > > > Thanks for the quick response but I don't think that is what I am
| > looking
| > > > for. My situation is that I am generating data verrrry sloooowly on
| the
| > > > server and I want the client to see the data as it is being created
| > (i.e.,
| > > > streamed), instead of waiting until all of the data is generated.
| > > >
| > > > Larry Woods
| > > >
| > > > "Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
| > > > news:u2****************@tk2msftngp13.phx.gbl...
| > > > > here ya go
| > > > > http://www.darkfalz.com/1098/
| > > > >
| > > > >
| > > > > --
| > > > > ----------------------------------------------------------
| > > > > Curt Christianson (Software_AT_Darkfalz.Com)
| > > > > Owner/Lead Designer, DF-Software
| > > > > http://www.Darkfalz.com
| > > > > ---------------------------------------------------------
| > > > > ..Offering free scripts & code snippits for everyone...
| > > > > ---------------------------------------------------------
| > > > >
| > > > > "Larry Woods" <la***@lwoods.com> wrote in message
| > > > > news:#z**************@TK2MSFTNGP11.phx.gbl...
| > > > > > Could you give me an example of streaming a page to the client?
| > > > > >
| > > > > > Thanks.
| > > > > >
| > > > > > Larry Woods
| > > > > >
| > > > > >
| > > > >
| > > > >
| > >
| > > At the top of your script set response.buffer = true, you can then
| > > periodically use response.flush to send any buffered output to the
| > > user.
| > >
| > > Alternatively you could generate your data more quickly :)
| >
| >
|
|
|

Jul 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
422
by: CJM | last post by:
I have a page which allows the user to open one of several spreadsheets by streaming the XLS to the client. On my development site, everything appears to work fine. On the live site, it works...
6
3610
by: CJM | last post by:
I have a page which allows the user to open one of several spreadsheets by streaming the XLS to the client. On my development site, everything appears to work fine. On the live site, it works...
0
334
by: Phil | last post by:
Hi I have an issue when trying to stream blob image data from a SQL table to a .aspx page. the code I have works for GIF and JPEG but the images can be multiple pages and we would like them to open...
5
1550
by: John | last post by:
Hi all, I have an (well, what I think to be, at least) interesting question: Is it possible to stream data down to the client and, after a certain amount of data has been streamed, allow the...
6
2702
by: | last post by:
Hi all, is there a better way to stream binary data stored in a table in sql 2005 to a browser in .net 2.0? Or is the code same as in .net 1.1? We noticed that in certain heavy load scenarios,...
1
5383
by: DB | last post by:
Hi All, I’m trying to stream a PDF with .NET 2.0 in a c# web app. However, it does not actually show the PDF (using adobe acrobat). The Situation: Click on a Button, Opens a new Window,...
1
1800
by: SuperKhoolGuy | last post by:
Guys, I have a client tool which runs and accepts files with "amt" extensions. All the "amt" files have been setup to open using my client tool which works great when I double-click on the...
3
3995
by: Brad | last post by:
I have an aspx page that is sending pdf files to client browsers: it uses a filestream to read the pdf file and response.binarywrite to send content to the browser. This has worked great for years...
1
2833
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from...
0
7105
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7023
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5617
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3178
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.