472,378 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,378 software developers and data experts.

Browsers Control

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.html ), 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 1118
jhardman
3,406 Expert 2GB
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.html ), 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("presenterPage") 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
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...
12
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...
12
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...
4
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...
8
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

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.