Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
jeby #1
Application.cfm or Application.cfc
I am trying to get more information on the differences between using an
Application.cfm or an Application.cfc file. I think that the main difference
is that the .cfm is a tag based where .cfc is script based? I have no idea if
that is correct....just what i think i have picked up.
Please reply with your opinions and preferences as well as an explanation of
what the differences are and the advantages of each.
I am beginning to write an application for the company I work for and am
trying to make sure i am taking the right approach. Thanks for all of your
help!
Josh
jeby Guest
-
Flash Remoting Application.cfc & Application.cfm problem
Hi there, When using Flex 1.5 client application, when using Application.cfm to deal with remoting SetCredentials(user,pwd), I just set it once... -
dllimport call in aspnet application makes the application hangs
As our application design requires us to use one of the validation API engine which was written on C(so basically all I have is a dll) and I tested... -
What issue will HIT me hard when I convert an Access 2002 MDE application to Web Application?
Hi All, Current Access 2002 MDE application: - has no tier - has neither business object nor any kind of object (Except MS Form object and... -
Can a web application call methods on a webservice running in the same application
Can a web application call methods on a webservice running in the same application Thanks Ron Vecchi -
How to inherit a base form in all application forms of an asp.net application
hello friend, while developing an asp.net application, i created a base form(say mybaseform1) with certain links on it. then i tried to... -
Stressed_Simon #2
Re: Application.cfm or Application.cfc
No you are wrong. You can use tags in either just like you can use cfscript in
either.
Application.cfc replaces the use of Application.cfm and OnRequestEnd.cfm and
adds new abilities.
Application.cfm very similar to a cfinclude that is run on every page request
before any other code, where as Application.cfc is a ColdFusion Component. It
has variaous methods that are called in different situations. You have
onRequestStart() and onRequest() which are called before every page. You also
have onSessionStart() and onSessionEnd() methods that are self explainatory.
You should read
[url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/[/url]
wwhelp.htm?context=ColdFusion_Documentation&file=0 0001117.htm and read through
the following pages by using the right arrow at the top.
Stressed_Simon Guest
-
jeby #3
Re: Application.cfm or Application.cfc
Ok. Application.cfc definatly sounds like the way I need to go. Does the
Application.cfc file also go in the root like the Application.cfm?
Are you able to get session information during the onSessionStart() and
onSessionEnd() such as SessionID and Username of the person that was is the
session is their username was a session var such as Session.Username?
I want to keep track of all of the current sessions in my application. I want
to be able to display a list of users that have current sessions. Is that
possible?
Josh
jeby Guest
-
jeby #4
Re: Application.cfm or Application.cfc
I could really use some help on this situation. Anyone with any info please reply. All help will be greatly appreciated! Thank you all!!!
jeby Guest
-
Cannikinn #5
Re: Application.cfm or Application.cfc
Well, onSessionStart() would only be called the first time a user browses to
your site -- they just started a new session. Using onRequestStart() will let
you do things at the beginning of every page load, which is what it sounds like
you want to do.
Cannikinn Guest



Reply With Quote

