Still not having any success.  However, after ticking Enable Debug Output in
the BlueDragon Administrator,
it's showing that the session variable actually has a value, which suggests
it's working.  Very strange.

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of
Matthew Woodward
Sent: 22 August 2011 20:51
To: [email protected]
Subject: Re: [OpenBD] Session variables not working


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

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

Reply via email to