| You know, I have found, the most reliable method, is to have include file, on every page, that checks any objects, or application/domain scope vars, and initializes as necessary. So, this include tml, will check if your vars contains, what they are supposed to, and if they don't, it calls methods to initialize them. We have found this to be completely, reliable, here is a sample, of a global object, being checked, and it leaves html comments in the page, for debugging: <!-- Check BigHead Widgets Start Timer: <@timer> --> <@if "<@var bighead$widgets type=text> contains 'object'"> <!-- Just Checking the BigHead Object Status Listener Address: <@var system$listenerAddress> Current Object: <@var bighead$Widgets> --> <@else> <@assign bighead$widgets <@CREATEOBJECT OBJECTID="bhwidgets.tcf" TYPE="TCF">> <!-- Just Creating the BigHead Object Status Listener Address: <@var system$listenerAddress> Created Object: <@var bighead$widgets> --> </@if><!-- Check BigHead Widgets End Timer: <@timer> --> -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 13653 West Park Dr Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 On Aug 17, 2006, at 9:01 AM, John Michelin wrote:
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Witango-Talk: Application Scope Problems John Michelin
- Re: Witango-Talk: Application Scope Problems Ben Johansen
- Re: Witango-Talk: Application Scope Problems Roland Dumas
- Re: Witango-Talk: Application Scope Problems John Michelin
- Re: Witango-Talk: Application Scope Problems Roland Dumas
- Re: Witango-Talk: Application Scope Problem... John Michelin
- Re: Witango-Talk: Application Scope Problems Robert Garcia
- Re: Witango-Talk: Application Scope Problem... John Michelin
- Re: Witango-Talk: Application Scope Pr... Robert Garcia
- Re: Witango-Talk: Application Scop... John Michelin
