On Mon, Aug 22, 2011 at 12:32 PM, Douglas McGregor <
[email protected]> wrote:

>                <cfset session.FirstName Eq #UserLogin.FirstName# />
>

You want = instead of eq. = is an assignment operator, eq tests for
equality.

<cfset session.FirstName = UserLogin.FirstName />

Note you also don't need the # signs there.

Example use of eq for contrast:
<cfif foo eq bar> ...

Hope that helps.

-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to