You will end up realizing that the best way to achieve this is by using a
java server program that allows you to handle multiple clients updating the
same component. If you need a chat service and don't want to spend a lot of
time developing your own java server, try chatspace.com . The interface is
totally customizable and easy to integrate into your ColdFusion pages
(that's the way I solved this problem)

Regards!

-----Original Message-----
From: Ricki Stern [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 1:44 PM
To: CF-Server
Subject: Re: Using javascript to update Application variables


Here's the situation. I am creating a chat room. right now when a user wants
to post a message, that triggers a CF script which updates the application
variable and then the page is reloaded. reloading the page isn't visually
appealing in this situation, so I was hoping to be able to write a
JavaScript function that does everything my CF page does. I can use
JavaScript to update the textarea with the new value but that doesn't really
help other people see that new value

thanks for all your help so far
Ricki Stern
----- Original Message -----
From: "William J. Riley" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 1:30 PM
Subject: RE: Using javascript to update Application variables


> I don't think has much to do with WDDX. You would still need to submit
this
> packet back to a CFML page with JavaScript and the easier route would
> probably be URL parameters.
>
> William J. Riley
> Administrator
> Atlantic Computer Systems & Services
> Edge Web Hosting
> Phone:(410) 363-4626
>   Fax:(410) 363-8526
> [EMAIL PROTECTED]
> http://www.edgewebhosting.net
>
>
>
> -----Original Message-----
> From: Lord, Heath [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 19, 2000 1:19 PM
> To: CF-Server
> Subject: RE: Using javascript to update Application variables
>
>
> Via WDDX he could.
>
> -----Original Message-----
> From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 19, 2000 12:30 PM
> To: CF-Server
> Subject: RE: Using javascript to update Application variables
>
>
> Hi Ricki,
> >
> > I need to have a JavaScript procedure within my coldfusion page
> > update some application variables.
> >
> > without the JavaScript I would lock the variables and then do an update
> >
> > but how do I do this with JavaScript?
> >
>
> Actually you can't go from Javascript to CF, only the other way...
>
> What is it exactly you are trying to do?  I understand the 'setting
> application variable' part, just need a context in which to place this.
>
> Regards
>
> Stephen
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to