I'm transferring my app to the CF5 server, and a line which I thought was
innocuous and working fine, causes an error on the CF5.

The following line is part of a process that parses a text file and converts
it to a struct before inserting into a database.

This line: 
[quote]
<cfset session.assirt[#session.assirt.filename#][#tablecount#][#fieldname#]
= "#item#">
[/quote]

Should result in something like this being processed:

<cfset session.assirt[afi][10][AnnPerf1y] = "4.71">


In CFMX it does.  But in CF5, I get the following error message - is there
additional processing I need to do for CF5, or is there different syntax
with CF5?   Do I have to explicitly create the struct session.assirt in CF5
whereas CFMX will create it automatically if sessionmanagement is turned on?


[quote]
Error resolving parameter SESSION.ASSIRT
The session variable ASSIRT does not exist.
[/quote]



Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com





---
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