Chris, how about:

<CFSET APPLICATION.ADDTOKEN = "cfid=#client.cfid#&cftoken=#client.cftoken#">
<CFIF IsDefined("customerID")>
        <CFSET APPLICATION.ADDTOKEN = APPLICATION.ADDTOKEN & "&customerID=" & 
customerID>
</CFIF>

Modify to include whatever scope customerID would be in (client, form, cookie, URL, 
etc.).

HTH,
-Max


At 7/12/2000 05:03 AM -0400, Chris Farrugia wrote:
>I have an application.cfm and a form on a page.  Now, if they fill in the
>form, they then have a CustomerID variable defined...  in my application.cfm
>I have the following line:
>
><CFSET APPLICATION.ADDTOKEN = "cfid=#client.cfid#&cftoken=#client.cftoken#">
>
>Now, how could I put the customerID to the end of the addtoken if and only
>if it exists?  So it isn't there until they fill out the form... then on
>every page it is there...?  How would I do this?

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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