<CFCookie Name="LastTotal" Value="#Evaluate(GetLastSite.LastOne+1)#">

Only variables can be within #s.  If you want a function to be evaluated
within #s, you'll need to use the Evaluate() function.


Chris Evans
[EMAIL PROTECTED]
http://www.fuseware.com




-----Original Message-----
From: Paige Chandler [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 03, 2000 10:45 PM
To: [EMAIL PROTECTED]
Subject: Cookie Math


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01BFE540.4363E0F0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All,


   CFSET LastTotal=3D#GetLastSite.LastOne#+1>  - This Works.
  =20
   CFCookie Name=3D"LastTotal" Value=3D#GetLastSite.LastOne#+1>  This =
Does not work.

I would like to be create the cookie with +1. Is there a way?  TIA.

Regards,

Paige


------=_NextPart_000_0007_01BFE540.4363E0F0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;CFSET=20
LastTotal=3D#GetLastSite.LastOne#+1&gt;&nbsp; - This=20
Works.<BR>&nbsp;&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; CFCookie =
Name=3D"LastTotal"=20
Value=3D#GetLastSite.LastOne#+1&gt;&nbsp; This Does not =
work.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I would like to be create the cookie =
with +1. Is=20
there a way?&nbsp; TIA.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Paige</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0007_01BFE540.4363E0F0--

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to