On Jan 8, 2004, at 11:42 PM, Michael Kear wrote:
<cfset session.assirt[#session.assirt.filename#][#tablecount#][#fieldname#]
= "#item#">

You could take all the #s out (but that's not your problem):


<cfset session.assirt[session.assirt.filename][tablecount][fieldname]= item>

Error resolving parameter SESSION.ASSIRT
The session variable ASSIRT does not exist.

Sounds like session.assirt is not getting set.


I bet you have something like this code:

session.assirt.filename = someValue;

In CFMX, that implicitly creates session.assirt as a struct but in CF5 it will create a variable called assirt.filename in session scope. So in CF5, the statement would "work" but do something different to CFMX - it would not create session.assirt for you.

You need to add:

session.assirt = structNew();

before you can assign to any subfields of session.assirt.

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to