OK I am just sick and tired of looking at this now, don't have the energy
for debugging these days, having kids really takes it out of you :-)

I store all my global_variables in a WDDX file, which I read in and store in
a request variable, then convert the WDDX into structures in REQUEST scope.

Here is the code

---
        
        <cfset request.encryptKey = ""><!--- the encryption key if used
onthe wddx file --->
        <cfsavecontent variable="request.config"><cfinclude
template="global_variables.wddx"></cfsavecontent>
        
        <cfif request.encryptkey IS "">
                <!--- don't decrypt if no encryptkey provided --->
                <cfwddx action="WDDX2CFML" input="#request.config#"
output="request">
        <cfelse>
                <!--- decrypt wddx packet --->
                <cfwddx action="WDDX2CFML" input="#Decrypt(request.config,
requestencryptkey)#" output="request">
        </cfif>
---


Now for some reason the structures never seem to get created. But doing a
CFDUMP of request scope, does show request.config is there, and does
actually show  all it's internal structures.
The CFWDDX code definitely gets run, but is not producing anything.

Any ideas.??



Russ




--
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to