They always have different CFID and CFTOKENS.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 8:57 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Odd Question


Should your addtoken var be in the Application scope? That will assign the
same CFID and CFTOKEN to all users...

CF automatically creates Client.URLToken and Session.URLToken, similar to
your
assignment below, so you don't need to do that manually.

You could try something like this:

<CFSET Session.Mytoken="#Session.URLToken#">
<CFIF IsDefined("Form.CustomerID")>
        <CFSET Session.Mytoken="#Session.URLToken#&#Form.CustomerID#">
</CFIF>

Gene Kraybill
-----------------------------------------------------------
"Chris Farrugia" <[EMAIL PROTECTED]>:

> 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.

------------------------------------------------------------------------------
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