21 January 2006
I'm working in these days on AVBlog Lite and i just made the main step in order to get compatibility with BlueDragon and CFMX versions before 7.

I simply add an Application.cfm file like
 this:



<cfapplication
    name = "AVBlog";
    applicationTimeout = "#createTimeSpan(0,2,0,0)#";
    sessionManagement  = "yes"
    sessionTimeout = "#createTimeSpan(0,0,20,0)#";
    >
   
<cfscript>
    objApplication = createobject('component','Application');
</cfscript>

<cfif not isdefined('application.id')>
    <cfscript>
        objApplication.onApplicationStart();
    </cfscript>
</cfif>

<cfif not isdefined('session.id')>
    <cfscript>
        objApplication.onSessionStart();
    </cfscript>
</cfif>

<cfscript>
    objApplication.onRequestStart('dummy');
</cfscript>



This allow unicity of code (which remain on the Application.cfc file) and the trick is using the Application.cfc file as a normal component in case we are executing the code on BlueDragon or CFMX 6.
Categories: AVBlog
Social Buttons: del.icio.us digg NewsVine YahooMyWeb Furl Fark Spurl TailRank Ma.gnolia blogmarks co.mments Reddit
| 19:47:55 | icon author Admin

Google
Web www.avblog.org


subscribe Blog
search

Categories
AVBlog (60)
AVBlog Lite (20)
Tips (2)
AVBlog Basic (2)
Misc (2)
Recent posts

(31 lug 2007 00:09:56)
CFWidgets 0.8 released
(09 apr 2007 19:20:38)
AVBlog 2.0 features request
(26 feb 2007 12:45:32)
First CFWidgets Demo
(27 gen 2007 01:11:04)
AVBlog 1.5.1 released
(18 gen 2007 10:35:37)
What's happened to 1.5.1?
(16 gen 2007 01:01:20)
AVBlog 1.5 released
(20 nov 2006 00:37:04)
Last comments
And update?...
(30 lug 2007 23:43:57)
FEED
[RSS][ATOM] All
[RSS][ATOM] AVBlog
[RSS][ATOM] AVBlog Lite
[RSS][ATOM] Tips
[RSS][ATOM] AVBlog Basic
[RSS][ATOM] Misc

Mailing list