Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass variable from one CF site to another 1

Status
Not open for further replies.

OldWilly

Programmer
Joined
Mar 1, 2002
Messages
66
Can I pass variables from one Cold Fusion site to another
without doing it in a URL? I would think a form would work,
but I don't want to force the user to press a submit button.
I have an array of client variables I would like to pass
to another site. Any ideas? Thx in advance
 
submit the form on page load maybe? using javascript
 
Gee, I hate to sound ungrateful, but do you have a code example? Sounds like a good idea.
I'm really weak with javascript.
 
I did some digging and found it !! Thx for pointing me in the right direction.
 
Can I see the example? PLease please pleasee.e.e.e..se!
 
the code I'm now using:

<cfoutput>
<body onload=&quot;f1.submit()&quot;>

<form name=&quot;f1&quot; action=&quot; method=&quot;post&quot;>
<input type=&quot;Hidden&quot; name=&quot;somename&quot; value=&quot;#somevalue#&quot;>
..... as many hidden fields as you want ,,,,,,,,
</form>

</body>
</cfoutput>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top