473,756 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to 'push' new Images to client ?

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
5 1973
tmb wrote on 29 nov 2004 in microsoft.publi c.inetserver.as p.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
On Mon, 29 Nov 2004 20:00:17 GMT, "tmb" <to********@yah oo.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
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*********@zi na.com> wrote in message
news:41******** ********@msnews .microsoft.com. ..
On Mon, 29 Nov 2004 20:00:17 GMT, "tmb" <to********@yah oo.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
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********@yah oo.com> a écrit dans le message de
news:U4******** ***********@tor nado.tampabay.r r.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*********@zi na.com> wrote in message
news:41******** ********@msnews .microsoft.com. ..
On Mon, 29 Nov 2004 20:00:17 GMT, "tmb" <to********@yah oo.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
On Tue, 30 Nov 2004 20:53:08 GMT, "tmb" <to********@yah oo.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*********@zi na.com> wrote in message
news:41******* *********@msnew s.microsoft.com ...
On Mon, 29 Nov 2004 20:00:17 GMT, "tmb" <to********@yah oo.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2830
by: Nick K. | last post by:
I am looking for architecture to push information from a server to a client browser. This information would be in the form of an alert. What I do not want to do is have the browser be on a timer and update every few seconds. What options do I have to put into place such a feature?
5
6095
by: Arun Gandhi | last post by:
Hi Everyone, IS it possible in ASP.NET that Server should automatically push data to the client ? Thanks Arun Gandhi
7
2929
by: giangiammy | last post by:
hi all, I need to implement a web page with a table: the page structure i fixed, the tables field are updating from time to time. The table could be quite big, but just some fields change from time to time. I need an update delay of about 1s.
4
2209
by: Ben Kim | last post by:
Hello all, We are re-developing a software product that requires push technology (wireless and hardwired). Microsoft used to support this technology in IE but dropped it for whatever reason. The system is a dispatch application. When a call comes in, the operator will assign a vehicle(s) to the call and the system should push a message out to each vehicle selected.
8
11184
by: semedao | last post by:
Hi , I need to develop some feature of web service that can notify client - "Push" operation - and fast somebody know if it's possible , and how? When I say "Push" I mean - pure push :) , not mechanism of client checking for messages in interval... thanks
19
6179
by: marckatsambis | last post by:
Hi, I'm struggling to find answers on the problem I'm having, and I desperately need some closure :) I have a bunch of background-images in a css file that are visible locally, but when I upload to a remote server they won't show. I checked the actual link, which is correct (e.g '../images/main/ brc.gif'). To make sure I also tried the URL approach (e.g. 'http://
8
1989
by: Frank Millman | last post by:
Hi all This is not strictly a Python question, but as the system to which relates is written in Python, hopefully it is not too off-topic. I have an accounting/business application, written in client/server mode. The server makes a connection to a database, and then runs a continuous loop waiting for client connections, establishes a session with the client, and responds to messages received from the client until the client closes the...
5
2469
by: Mark Goldin | last post by:
Can I create a push server using ASP technology? Thanks
0
9287
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10046
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9857
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7259
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5155
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.