ahhh i see, thanks steve.

steve.

-----Original Message-----
From: Steve Nelson [mailto:[EMAIL PROTECTED]]
Sent: 02 November 2000 17:01
To: Fusebox
Subject: Re: request.urltoken whats it for?


it's for a couple things... first it's about 1/10 of a millisecond
faster, even with the cfset.  don't ask me why, i don't know.

But more importantly it can be used if you need to tack on additional
data to the urltoken, without having to do database access.  like this:

<cfset
request.urltoken="#request.urltoken#&page_id=#attributes.page_id#">

I use that on secretagents.com, so if you were an affiliate site and a
user clicked a link to secretagents.com it'll pass this
#attributes.page_id# variable in all the URLs that way if a user creates
an account in that session the page_id will be added to their record. 
make sense?

Steve

Stephen Fernandez wrote:
> 
> ive been looking at the fusebox.org code and ive been wondering why
> request.urltoken is being set to client.urltoken
> 
> eg in the app_globals
> <cfset request.urltoken=client.urltoken>
> 
> then anywhere the urltoken needs to be passed it is passed as
> request.urltoken
> <cflocation url="index.cfm?fuseaction=questionthanks&#request.urltoken#"
> addtoken="no">
> 
> why not just set addtoken = yes? or #use client.urltoken#
> 
> steve.
> _______________________________________
> Stephen Fernandez, Web Developer, NetBenefit plc
> T: +44 (020) 7336 6777
> F: +44 (020) 7336 0567
> http://www.netbenefit.com/
> 
>
----------------------------------------------------------------------------
--
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

-- 
Steve Nelson
http://www.SecretAgents.com
Tools for Fusebox Developers
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to