Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 3rd, 2004, 11:17 AM
Authorized User
 
Join Date: Jul 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default An activity by user B trigger an event for A

Wasn’t sure the best way to ask this one, I think better to describe what I’m trying to do:

I am creating an online dating site (like americansingles.com, etc) and want to allow chat between to members. What I want to do is what several of these sites do: if a user B clicks on “chat with user A” a chat window a new browser window opens for user A! Note that the page was not reloaded by user A. This seems imposable to me since this is a stateless protocol and the server has no way to affect user A.

Any thoughts on how I could do this? Also, I haven’t yet found a good component to handle chat (I’d like to do one-on-one and multiple user rooms); any suggestions would be appreciated.


Thanks for your help, Mischa


 
Old July 3rd, 2004, 04:28 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

i don't think that asp could manage well online events and you could use refresh tag to do that.... (i think that languages for ex. java you can do applets which connect users to server is the best for online events)
you could use application variable with the Request.UserHostName to identify and map requests...

Ahmed Ali
Software Developer





Similar Threads
Thread Thread Starter Forum Replies Last Post
Does GridView trigger PageIndexChanged event? PeterPeiGuo ASP.NET 2.0 Basics 2 December 5th, 2008 07:39 PM
onmouseover trigger event JParent Javascript How-To 1 February 13th, 2006 10:26 AM
Trigger event on button click speedyH ASP.NET 1.x and 2.0 Application Design 3 June 27th, 2004 10:10 AM
Force an event to trigger YiannisF ASP.NET 1.0 and 1.1 Basics 2 June 2nd, 2004 08:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.