This works...
<CFPARAM NAME="session.Account" DEFAULT="#StructNew()#">
<CFPARAM NAME="session.Account.LoggedIn" DEFAULT="no">
but this throws an error ("Invalid token found on line 2 at position 41" -
the apostrophe after LoggedIn)...
<CFPARAM NAME="session.Account" DEFAULT="#StructNew()#">
<CFPARAM NAME="session.Account["LoggedIn"]" DEFAULT="no">
This doesn't throw an error, but dumping the session variable to screen
doesn't display a key called LoggedIn in the session variable...
<CFSET variables.Key = "LoggedIn">
<CFPARAM NAME="session.Account" DEFAULT="#StructNew()#">
<CFPARAM NAME="session.Account[variables.Key]" DEFAULT="no">
Is it possible to use the array style notation (scope.structure["key"]) with
CFPARAM?
Thanks
Aidan
--
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists