RE: [cfaussie] Writing cookie to DB
Worked like a charm - Thanks Gareth and Andrew (I would say the dashes were indeed the issue) Bryce :-) -Original Message- From: Gareth Edwards [mailto:ghedwa...@gmail.com] Sent: Tuesday, 10 August 2010 12:05 PM To: cfaussie@googlegroups.com Cc: Bryce Hoffmann Subject: Re: [cfaussie] Writing cookie to DB This is just a guess, but have you tried cookie["inettuts-widget-preferences"] ? Cheers Gareth. On 10/08/10 12:02 PM, Bryce Hoffmann wrote: > Hi all, some insight please would be great. > I have some JavaScript that produces a cookie called > 'inettuts-widget-preferences'. > I can CFdump all the cookie variables and it appears in the dump. > But when I try to refer to it directly in the CFML (ie > 'cookie.inettuts-widget-preferences') I get a CF error > > Regards Bryce :-) > > > *** Confidentiality and Disclaimer Statement * > The information in this e-mail and any attachments are confidential and may > be subject to legal professional privilege. It is intended solely for the > attention and use of the named addressee(s). If you are not the intended > recipient, or person responsible for delivering this information to the > intended recipient, please notify the sender immediately. Unless you are the > intended recipient or his/her representative you are not authorised to, and > must not read, copy, distribute, use or retain this message or any part of it. > > Opinions, conclusions and other information expressed in this message are not > given or endorsed by NCC unless otherwise indicated by an authorised officer > independent of this message. > > NCC has implemented anti-virus software, and whilst all care is taken, it is > the recipient's responsibility to ensure that the message and any attachments > are scanned for viruses prior to use. > > This footnote also confirms this e-mail message has been read electronically > by an e-mail content breakdown system. > > Newcastle City Council > Web: http://www.newcastle.nsw.gov.au > E-mail: m...@ncc.nsw.gov.au > > > -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
RE: [cfaussie] Writing cookie to DB
That should work, my guess is that the compiler is seeing the minus signs and trying to evaluate the expression. Regards, Andrew Scott http://www.andyscott.id.au/ > -Original Message- > From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On > Behalf Of Gareth Edwards > Sent: Tuesday, 10 August 2010 12:05 PM > To: cfaussie@googlegroups.com > Cc: Bryce Hoffmann > Subject: Re: [cfaussie] Writing cookie to DB > > This is just a guess, but have you tried cookie["inettuts-widget- > preferences"] ? > > Cheers > Gareth. > > On 10/08/10 12:02 PM, Bryce Hoffmann wrote: > > Hi all, some insight please would be great. > > I have some JavaScript that produces a cookie called 'inettuts-widget- > preferences'. > > I can CFdump all the cookie variables and it appears in the dump. > > But when I try to refer to it directly in the CFML (ie > > 'cookie.inettuts-widget-preferences') I get a CF error > > > > Regards Bryce :-) > > > > > > *** Confidentiality and Disclaimer Statement > * > > The information in this e-mail and any attachments are confidential and > may be subject to legal professional privilege. It is intended solely for the > attention and use of the named addressee(s). If you are not the intended > recipient, or person responsible for delivering this information to the > intended recipient, please notify the sender immediately. Unless you are the > intended recipient or his/her representative you are not authorised to, and > must not read, copy, distribute, use or retain this message or any part of it. > > > > Opinions, conclusions and other information expressed in this message are > not given or endorsed by NCC unless otherwise indicated by an authorised > officer independent of this message. > > > > NCC has implemented anti-virus software, and whilst all care is taken, it is > the recipient's responsibility to ensure that the message and any > attachments are scanned for viruses prior to use. > > > > This footnote also confirms this e-mail message has been read > electronically by an e-mail content breakdown system. > > > > Newcastle City Council > > Web: http://www.newcastle.nsw.gov.au > > E-mail: m...@ncc.nsw.gov.au > > > > > > > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaus...@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Writing cookie to DB
This is just a guess, but have you tried cookie["inettuts-widget-preferences"] ? Cheers Gareth. On 10/08/10 12:02 PM, Bryce Hoffmann wrote: Hi all, some insight please would be great. I have some JavaScript that produces a cookie called 'inettuts-widget-preferences'. I can CFdump all the cookie variables and it appears in the dump. But when I try to refer to it directly in the CFML (ie 'cookie.inettuts-widget-preferences') I get a CF error Regards Bryce :-) *** Confidentiality and Disclaimer Statement * The information in this e-mail and any attachments are confidential and may be subject to legal professional privilege. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorised to, and must not read, copy, distribute, use or retain this message or any part of it. Opinions, conclusions and other information expressed in this message are not given or endorsed by NCC unless otherwise indicated by an authorised officer independent of this message. NCC has implemented anti-virus software, and whilst all care is taken, it is the recipient's responsibility to ensure that the message and any attachments are scanned for viruses prior to use. This footnote also confirms this e-mail message has been read electronically by an e-mail content breakdown system. Newcastle City Council Web: http://www.newcastle.nsw.gov.au E-mail: m...@ncc.nsw.gov.au -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Writing cookie to DB
Hi all, some insight please would be great. I have some JavaScript that produces a cookie called 'inettuts-widget-preferences'. I can CFdump all the cookie variables and it appears in the dump. But when I try to refer to it directly in the CFML (ie 'cookie.inettuts-widget-preferences') I get a CF error Regards Bryce :-) *** Confidentiality and Disclaimer Statement * The information in this e-mail and any attachments are confidential and may be subject to legal professional privilege. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorised to, and must not read, copy, distribute, use or retain this message or any part of it. Opinions, conclusions and other information expressed in this message are not given or endorsed by NCC unless otherwise indicated by an authorised officer independent of this message. NCC has implemented anti-virus software, and whilst all care is taken, it is the recipient's responsibility to ensure that the message and any attachments are scanned for viruses prior to use. This footnote also confirms this e-mail message has been read electronically by an e-mail content breakdown system. Newcastle City Council Web: http://www.newcastle.nsw.gov.au E-mail: m...@ncc.nsw.gov.au -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.