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?