well your dealing with a structure, so probably <cfset SESSION[request.sitePrefix].Agree = "Yes">
may be cleaner -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brett Payne-Rhodes Sent: Thursday, October 07, 2004 12:54 PM To: CFAussie Mailing List Subject: [cfaussie] Re: SESSION. question Try <cfset "SESSION.#request.sitePrefix#.Agree" = "Yes"> B) Carl wrote: > I have a session variable that looks like this > > On a global variables page I have > <cfscript> > request.sitePrefix = "site1"; > </cfscript> > > > But this one is causing probs? > <cfoutput> > <cfset SESSION.#request.sitePrefix#.Agree = "Yes"> > </cfoutput> > > > saying > > A CFML variable name cannot end with a "." character. > The variable SESSION. ends with a "." character. You must supply an > additional structure key or delete the "." character. > > Is there another way of doing this? > > Thanks > > Carl > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > -- Brett Payne-Rhodes Eaglehawk Computing t: +61 (0)8 9371-0471 f: +61 (0)8 9371-0470 m: +61 (0)414 371 047 e: [EMAIL PROTECTED] w: www.ehc.net.au --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
