Check out the CFDocs on cflogin. You can also use the Login Wizard in Dreamweaver. This will create the files and you can see how to do it.
Bascially you'll use cflogin in your application.cfm, and if the user isn't logged in you'll include you login form. And then the login form will submit back to itself, the application.cfm will catch the form post. And if the user has logged in correctly it will skip the include and go right to the main page. Hth, ---nimer > -----Original Message----- > From: Chris Tilley [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 19, 2005 11:33 AM > To: CF-Talk > Subject: Re: Flash cfform and recompilation > > Mike, > > Do you happen to have any sample code to use the cfform tag for login or > somewhere you can point me? I have an application that needs the login > security and not sure where to start. > > Thanks in advance, > Chris > > On 7/18/05, Mike Nimer <[EMAIL PROTECTED]> wrote: > > > > That would be ok. The data between the <cfforminput></cfforminput> tags > > is considered the value of the field so it does not force a recompile. > > > > Hth, > > ---nimer > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 18, 2005 10:13 AM > > To: CF-Talk > > Subject: Flash cfform and recompilation > > > > In the ColdFusion documentation under "Best practices for Flash forms" > > it says: > > > > "Only data should be dynamic. Whenever a variable name changes, or a > > form characteristic, such as an element width or a label changes, the > > Flash output must be recompiled. If a data value changes, the output > > does not need to be recompiled." > > > > Does anyone know if the content between a <cfformitem type="text"> tag > > is considered data or a form characteristic? > > > > Basically I'm trying to figure out if a custom error message from the > > server can be inside the flash form, or if I should output it in the > > html outside the form. > > > > My actual code is this: > > <cfformitem type="text" style="font-family:Verdana, Arial, Helvetica, > > sans-serif; font-size:10px; > > color:##FF0000;">#variables.errormessage#</cfformitem> > > > > Normally variables.errormessage is empty, but would be populated if the > > user's login credentials were incorrect or the account was inactive. > > > > Thanks, > > Jonathan > > ------------------------------ > > Jonathan Mauney > > Web Application Developer > > > > 1110 WBT AM > > 107.9 the LINK [WLNK] > > PersonalityAC(r) Radio Network > > Jefferson-Pilot Communications Co. > > ------------------------------ > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221804 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

