By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,122 Members | 1,508 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,122 IT Pros & Developers. It's quick & easy.

How to 'push' new Images to client ?

P: n/a
tmb
Is there a way to use ASP to 'push' a new image to the client every 15
seconds or so?

I guess the entire page will have to be 're-sent' to the client but I'm not
sure.

I'm trying to 'rotate' a new product image every few seconds.

I could use an animated gif or some java script maybe, but I want to keep
the file small and not have to count on the user having java script
enabled...

So, I would like to make all this happen from the server side if I can.

thanks for any help.
Jul 22 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
tmb wrote on 29 nov 2004 in microsoft.public.inetserver.asp.general:
Is there a way to use ASP to 'push' a new image to the client every 15
seconds or so?

I guess the entire page will have to be 're-sent' to the client but
I'm not sure.


"pull" an iframe.
Jul 22 '05 #2

P: n/a
On Mon, 29 Nov 2004 20:00:17 GMT, "tmb" <to********@yahoo.com> wrote:
Is there a way to use ASP to 'push' a new image to the client every 15
seconds or so?
Not really.
I guess the entire page will have to be 're-sent' to the client but I'm not
sure.
Depends on what you have set up. Could be just a frame. But it
doesn't depend on ASP.
I'm trying to 'rotate' a new product image every few seconds.
Look at the ad rotator script included in the sample scripts and
figure pout a way to have the client request the page every few
seconds.
I could use an animated gif or some java script maybe, but I want to keep
the file small and not have to count on the user having java script
enabled...
Instead of using a client-side option you'd prefer to drmatically
increase the load on the server? Rethink your options and use the
appropriate technology.
So, I would like to make all this happen from the server side if I can.


In ASP you can't Client requests ASP page. Server process ASP and
sends page to client. Client renders page. There's no mechanism for
a server to force a client to receive a page.

Best handled client-side, if it needs to be server side then ASP.NET
is a better option.

Jeff
Jul 22 '05 #3

P: n/a
tmb
Thanks for the comments.

So, if I must do this on the client side... what is the most widely used
client side tecnique?

Java Script maybe?

What are your favorites.

thanks.

tmb

"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com...
On Mon, 29 Nov 2004 20:00:17 GMT, "tmb" <to********@yahoo.com> wrote:
Is there a way to use ASP to 'push' a new image to the client every 15
seconds or so?


Not really.
I guess the entire page will have to be 're-sent' to the client but I'm
not
sure.


Depends on what you have set up. Could be just a frame. But it
doesn't depend on ASP.
I'm trying to 'rotate' a new product image every few seconds.


Look at the ad rotator script included in the sample scripts and
figure pout a way to have the client request the page every few
seconds.
I could use an animated gif or some java script maybe, but I want to keep
the file small and not have to count on the user having java script
enabled...


Instead of using a client-side option you'd prefer to drmatically
increase the load on the server? Rethink your options and use the
appropriate technology.
So, I would like to make all this happen from the server side if I can.


In ASP you can't Client requests ASP page. Server process ASP and
sends page to client. Client renders page. There's no mechanism for
a server to force a client to receive a page.

Best handled client-side, if it needs to be server side then ASP.NET
is a better option.

Jeff

Jul 22 '05 #4

P: n/a
Yes, you could use setTimeout to trigger a script on a regular basis the
script would load a new image (just change the src for your img tagl).

Patrice

--

"tmb" <to********@yahoo.com> a écrit dans le message de
news:U4*******************@tornado.tampabay.rr.com ...
Thanks for the comments.

So, if I must do this on the client side... what is the most widely used
client side tecnique?

Java Script maybe?

What are your favorites.

thanks.

tmb

"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com...
On Mon, 29 Nov 2004 20:00:17 GMT, "tmb" <to********@yahoo.com> wrote:
Is there a way to use ASP to 'push' a new image to the client every 15
seconds or so?


Not really.
I guess the entire page will have to be 're-sent' to the client but I'm
not
sure.


Depends on what you have set up. Could be just a frame. But it
doesn't depend on ASP.
I'm trying to 'rotate' a new product image every few seconds.


Look at the ad rotator script included in the sample scripts and
figure pout a way to have the client request the page every few
seconds.
I could use an animated gif or some java script maybe, but I want to keepthe file small and not have to count on the user having java script
enabled...


Instead of using a client-side option you'd prefer to drmatically
increase the load on the server? Rethink your options and use the
appropriate technology.
So, I would like to make all this happen from the server side if I can.


In ASP you can't Client requests ASP page. Server process ASP and
sends page to client. Client renders page. There's no mechanism for
a server to force a client to receive a page.

Best handled client-side, if it needs to be server side then ASP.NET
is a better option.

Jeff


Jul 22 '05 #5

P: n/a
On Tue, 30 Nov 2004 20:53:08 GMT, "tmb" <to********@yahoo.com> wrote:
So, if I must do this on the client side... what is the most widely used
client side tecnique? Java Script maybe? What are your favorites.
All valid questions, but not ASP. Try a client-side group for help,
and choose your own technique appropriate to your situation, not
somebody else's favorite that may not fit your needs.

Jeff

"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com...
On Mon, 29 Nov 2004 20:00:17 GMT, "tmb" <to********@yahoo.com> wrote:
Is there a way to use ASP to 'push' a new image to the client every 15
seconds or so?


Not really.
I guess the entire page will have to be 're-sent' to the client but I'm
not
sure.


Depends on what you have set up. Could be just a frame. But it
doesn't depend on ASP.
I'm trying to 'rotate' a new product image every few seconds.


Look at the ad rotator script included in the sample scripts and
figure pout a way to have the client request the page every few
seconds.
I could use an animated gif or some java script maybe, but I want to keep
the file small and not have to count on the user having java script
enabled...


Instead of using a client-side option you'd prefer to drmatically
increase the load on the server? Rethink your options and use the
appropriate technology.
So, I would like to make all this happen from the server side if I can.


In ASP you can't Client requests ASP page. Server process ASP and
sends page to client. Client renders page. There's no mechanism for
a server to force a client to receive a page.

Best handled client-side, if it needs to be server side then ASP.NET
is a better option.

Jeff


Jul 22 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.