Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
joef163 #1
Redirecting from Get to Post (maybe via CFHTTP??)
Hey all, looking for some advice. Here is the situation... I have a website
with links that go to a redirection script (to track clicks and provide a
single point of access to change URLs). The site I'm linking to now supports a
'single-sign-on' capability, that is, if we send them a properly formatted xml
message, we can automatically sign our user into their system. The problem is
that their program requires a POST action, understandably so. Is there a way
to do this? How can my redirection script automatically submit a POST form to
their system and send the user the results? I'm not aware of any way to use
traditional redirection to handle this because you aren't supposed to/can't
redirect to a POST method request, right? The only other way I was thinking I
could accomplish it was to use CFHTTP to execute the post request and then pass
the results back to the user; however, the results include cookies... I don't
think you can set cookies for something outside your own domain, right? Could
I do a workaround by simply creating a dns entry in my system for theirs, and
then access their system through my dns entry? I would think then I could set
the cookies properly, no? If none of these ideas work I'm left with presenting
users with an interim page that contains the appropriate HTML form. Sure, I
can use javascript to automatically submit the form, but a) I don't want the
interim page and b) javascript isn't reliable (can be turned of).
Thoughts/ideas?
joef163 Guest
-
Trouble with CFHTTP Post XML to FedEx
I am developing a ColdFusion application to request shipment information from FedEx. Their FSM Direct guidelines specify the format of the XML... -
How to post xml with cfhttp error?! HELP
<cfhttp url = "http://10.1.6.211/ProposalGenerator.aspx" METHOD="POST" throwOnError = "yes" > <cfhttpparam name="propxml" TYPE="FORMFIELD"... -
Sending an xml doc via cfhttp post
I am receiveing the following error when trying to send xml via cfhttp - Connection Failure: Status code unavailable The xml code works fine... -
redirect but with post data - mimick form post behaviour
Any thoughts on how to mimic result of submitting form data via POST Method? I have some code that sanitizes some submitted formfields and i'd like... -
preserving vars sent by POST method after redirecting by .htaccess
Dear fellow-perlers, The situation is like this: I'd like my .htacces-file to catch all 404 errors. When this .htaccess is located in directory...



Reply With Quote

