Not 100% secure, but you could encrypt the value...
> How do I encode URL variables so that I can pass semi-sensitive info over
URL?
>
<!--- duh.cfm --->
<cfset thestring = "A new value?">
<cfset thekey = "test">
<cfoutput>
<form action="duh2.cfm" method="get">
<input type="hidden" name="test10"
value="#URLEncodedFormat(Encrypt(thestring, thekey))#">
<input type="submit" value="Test">
</form>
</cfoutput>
<!---Duh2.cfm--->
<cfset thekey = "test">
<cfset decodedvalue = decrypt(URLDecode(test10), thekey)>
<cfoutput>
#decodedvalue#
</cfoutput>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists