Solved

cfchat

Posted on 2006-06-13
8
267 Views
Last Modified: 2013-12-24
Like a lot of other people, I'd like to implement a chat session on my website.
I don't want to use Flash or AJAX or Flex or Director or Fusetalk or anything else other than standard cfm to html using a SQL database.
Oh, and I want it to be free.
With source code.
That's not asking for too much, is it?

There's been a few EE threads
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_10447156.html?query=chat&topics=112
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_20264957.html
But they're getting pretty stale.

I found a "Bare Bones Chat System, V1.0" at
http://www.adobe.com/cfusion/exchange/index.cfm?view=sn131&extID=1002138#loc=en_us&view=sn131&extID=1002138&viewName=ColdFusion%20Extension&avm=1

It's "Free, unencrypted and commented.  A good base for your own chat system and as good as some of the systems that you have to pay for. Download it, hack it, use it, junk it but don't pay for it!"

Can anyone say "Oh no, you should use (your name here) chat system.  It's much more up-to-date (uses cfcs), and is free and includes the source code and yada yada yada".
0
Comment
Question by:psenn
  • 3
  • 3
8 Comments
 
LVL 18

Expert Comment

by:Plucka
ID: 16899221
psenn,

I think that a chat system that doesn't use ajax style communication will not work.

How does the chat page know when something else has happened without refreshing all the time. You need to use either Ajax or IFRAME communication to do what you want.

Doing it using IFRAMES is simple and you could just write one, then you will have the source etc.

Regards
Plucka
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 16899436
well you can "sorta" do it using

<META HTTP-EQUIV=Refresh CONTENT="30; URL=http://somesite/somechatpage.cfm">

but all this does is continually refresh the page every 30 seconds

not sure but i think the devexchange code uses this (one i looked at a couple of years ago did)

it's ugly, server intensive and quite a poor hack but it does work...any other solutions are going to be ajax or iframe based

however, you might be able to find an open source java chat you can integrate
0
 

Author Comment

by:psenn
ID: 16899567
SidFishes!  Love the name!  The punk dba.

Yeah, I was thinking of using the ugly, server intensive and quite a poor hack model.  That's why I thought I'd better ask around first.

Plucka, I read about the <iframe> tag based on your recommendation.  It's interesting, but I haven't quite made the connection of how using <iframe> keeps them from having to do a submit each time.  It would still be a static page, wouldn't it?  Using the <iframe> tag is NOT a shortcut for AJAX, right?

I just want to implement a solution based upon what I already know, and not have to learn an entire new language or framework just to implement a one textbox classroom exercise (for lack of a better description).

I think I want sample source code because I'll probably end up keeping the chat transcripts and relate them back to my user table to see who's been asking what, when and the answer they got back.
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 36

Accepted Solution

by:
SidFishes earned 250 total points
ID: 16902482
hmm...this looks like it might be a pretty simple implementation...even if it is using ajax...pre-built and open source...even comes with sql scripts for MSSQL and MySQL

http://www.opensourcecf.com/cfopenchat/
0
 

Author Comment

by:psenn
ID: 16905245
cfopenchat looks very promising.  I'll have to check it out tonight.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 17004849
Did it work for you??
0
 

Author Comment

by:psenn
ID: 17030626
Sid,

I just got back from cfUnited, where Farcry was reintroduced as an open-source content management system, formerly a commercial product.

www.farcrycms.org.
I'm going to check it out and get back to you.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
php.ini on ipage hosting 12 74
URL redirect 4 69
Asp.net Hosting Plan security, reliable, stable 1 81
How code a 301 redirect for folder files -> 1 file 2 74
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question