I just can't seem to get my head around the processing
flow for an ColdFusion and Ajax-based login using a Shadowbox modal window...
Does anyone know of any tutorials that show how to use
ColdFusion, jQuery, and a modal window (doesn't have to be a Shadowbox)
for login?
I found a tutorial by Ray Camden, but Ray's tutorial uses CF's built-in Ajax
functions, and I'm trying to use jQuery...
Uses something like the following pages:
- index.cfm
- login.cfm (opens inside modal window if user not logged in)
- process_login.cfm (uses something like the following code)
<cfset mdata = createObject("component","manager_data")>
<cfset thedata = mdata.getmanagerData(form.email_address,
form.password)>
<cfset ojson = createObject("component","cfjson")>
<cfset results = ojson.encode(thedata)>
<cfoutput>#results#</cfoutput>
- manager_data.cfc (runs query to check login info)
- cfjson.cfc
I've been trying to figure out how to do this, but I've been working from
two different tutorials that take different approaches to Ajax usage and I can't
make sense of them together.
Is there anything out there that I could turn to? I've been all over Google and
elsewhere. All the examples I've found use PHP!!!
HEEEELLLLLLP! I want to understand Ajax! I want to be smart! (please :o)
Rick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316679
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4