473,883 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Browsers Control

18 New Member
hi all, i'm new at ASP and i face a problem, the problem is that i want to broadcast commands to browsers opening MyWebSite, The idea is that their is a presenter which present something through pictures, so i want whenever the presenter select certain image or even navigate to a any image all the instances or browsers that open my web site also navigate to that image automatically. How to do this ?

My Second problem is at the presenter, i post alot of discussions in many forums about the following problem( Here also
http://www.thescripts. com/forum/thread635721.ht ml ), the problem is that the presenter Application is Windows Application and the clients are from Web Sites (Something Like E-Learning) how to tell the clients browsers to navigate to the next image and perform this process automatically. someone tell me to use HTTPRequest as faking that the presenter is from a website and click on a button, the next step is how to broadcast to all instances.
May 29 '07 #1
1 1159
jhardman
3,406 Recognized Expert Specialist
hi all, i'm new at ASP and i face a problem, the problem is that i want to broadcast commands to browsers opening MyWebSite, The idea is that their is a presenter which present something through pictures, so i want whenever the presenter select certain image or even navigate to a any image all the instances or browsers that open my web site also navigate to that image automatically. How to do this ?
This is best handled with session- and application-level variables. Here's one example of how it could be done. If the presenter navigates to "myWebSite. com/turnips.asp" this page should say:
Expand|Select|Wrap|Line Numbers
  1. if session("id") = "presenter" then
  2.    application("presenterPage") = "turnips"
  3. else
  4.    response.redirect "/" & application("presenterPage") & ".asp"
  5. end if
  6.  
All the other pages should say something similar. You will need to make sure the presenter can log in (and set the session("id") to "presenter" ) and no one else can (or logs in as something else) then no matter what the user clicks on he will be sent to the page where the presenter is.
My Second problem is at the presenter, i post alot of discussions in many forums about the following problem( Here also
http://www.thescripts. com/forum/thread635721.ht ml ), the problem is that the presenter Application is Windows Application and the clients are from Web Sites (Something Like E-Learning) how to tell the clients browsers to navigate to the next image and perform this process automatically. someone tell me to use HTTPRequest as faking that the presenter is from a website and click on a button, the next step is how to broadcast to all instances.
There's no good way to do this in asp, as asp is strictly "pull", that is the server only works when the browser asks. You could do something with a frame that updates regularly (every 5 seconds or so) that just asks whether application("pr esenterPage") has changed, then if it has changed, you can redirect the other frame. You could probably do something similar with java or javascript.

Jared
May 31 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

53
5772
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is difficult to know what is going on. One of these Order Forms you can see here... http://www.cardman.co.uk/orderform.php3
12
2601
by: confused | last post by:
After expressing my interest in expanding my new knowledge of HTML and CSS into the wild realm of JavaScript, I was advised that it is wiser to avoid it, since not all browsers are use it or are enabled to read it. After searching for other opinions on the web, I found that some estimate that the frequency of browsers that can read JS currently is better than 90% -- that is certainly workable for me! Do you good people have any thoughts...
12
1730
by: code_wrong | last post by:
Hi, as the subject says How many browsers must we support? How many are there exactly? When I run this JavaScript in Firefox and IE6: function init(){ if(document.getElementById) alert("W3C DOM Supported"); else if(document.all)
4
947
by: Frank Rizzo | last post by:
I am trying to make sure that my app works fine with browsers other than IE. I am finding that many features simply donít work on other browsers. For instance, the Validators are actually doing validations on server, rather than on the client. I know for sure that Mozilla or Opera or whatever can do a silly validation on the client just as well as IE. How can I force validations to be done on the client with such browsers? In...
8
1361
by: Frank Rizzo | last post by:
I am trying to make sure that my app works fine with browsers other than IE. I am finding that many features simply donít work on other browsers. For instance, the Validators are actually doing validations on server, rather than on the client. I know for sure that Mozilla or Opera or whatever can do a silly validation on the client just as well as IE. How can I force validations to be done on the client with such browsers? In...
0
9933
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
10734
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10838
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,...
0
10408
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7964
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
7119
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5794
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
5988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.