Yes, it would return the last value for sure. If you use &, then
you'll get the last variables and value set. Certainly you could do
that, then grab the value from that string. But I think you'd need to
assign that value to something you could reference, right?

<cfset mylasturlvar = "" />
<cfset mylasturlval = "" />
<cfif rcdset.recordcount is 0>
    <cfset mylasturlvar - listlast(cgi.query_string,"&") />
    <cfset mylasturlval = listlast(mylasturlvar,"=") />
</cfif>

> Actually wouldn't that return the value rather than the variable?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250583
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to