Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From Computer1 active a popup on computer2 ?

Status
Not open for further replies.

Stefraf

Programmer
Sep 16, 2003
3
US
Hello,

I am having so difficulties to develop a script:
Imagine we have computer1 and computer2
By clicking a button from computer1 I want an auto popup to open on computer2.
is that possible? I know some people use an applet for that but is there any other way to do it ??
Stephan.
 
lol ya its called trojans, or just hack into their system. how many security protocols are we breaking here?

if it is possible and a site does it to me then guaranteed that site would make my sh!t list

<signature>
sometime you just gotta say &quot;WHAT THE @#*% !!&quot;
</signature>
 
This application is to use on a dating website, this would be use to open a chat session, like, member1 click and it will open the chat system on member2 screen.

I was thinking to use a frame and load a page that refresh every 10 seconds and check if ID_CALLED have been called by ID_CALLER them use javascript to genere the popup if .EOF = false
I was wondering if this system could handle 50+ simultanous users ??? maybe it's bad for the db ??

ooh, and the website should have 10000+ members...

what about the bandwitch, do you think this refresh page would eat a lot?
what do you think ?

respect, thx guys!
 
you can ask the person on cpu 2 for permission and that will work but automatically...my firewall and antivrus will go ape shit on me.

<signature>
sometime you just gotta say &quot;WHAT THE @#*% !!&quot;
</signature>
 
oh great, a funny guy...

Anyway, If anyone here have knowledge about my questions, any support/information are welcome.

Peace,
Stephan
 
What you'd need is to store the requests in the database, and be refreshing the clients periodically.

The clients then check the database for chat requests issued to them, the browser processes them and spawns child windows for each one.

The method is fairly simple:
dwarfthrower likes the look of deecee's profile and decides to initiate a chat request. He clicks on a button that posts data back to your database that contains deecee's userid, dwarfthrower's user id and the first line of the conversation eg &quot;Hi cutie wanna chat?&quot;. The database stores this, along with a unique ID to represent this particular conversation. When deecee's screen next refreshes, the server sees that there is a chat request waiting for deecee and sends the appropriate information to the browser. The browser then interprets the information and opens a new window for the chat dialogue to take place in. So deecee sees his page refresh and a new window opens with the line &quot;cutie wanna chat?&quot; sitting there. Any response that is submitted via this window sits under the unique ID and is picked up by dwarfthrower next time his screen refreshes.

How many simultaneous users you can support is only going to be a measure of your bandwidth and server capacities.

[sub]Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top