T
Tim Wade
Does anyone have any ideas on how to do an automatic html form post
using hidden fields without introducing client-side script nor using a
server-side WebRequest by passing the information back up to the
browser while the base href is still set to my site. The problem I was
having with the server-side WebRequest is that the relative links of
the site I am posting to break. I could work my way around it probably
by adding a base ref in the returned html or parsing relative links
and replacing with absolute. I have seen a number of sites do a fairly
nice jump to another site while passing information via POST and was
curious if there is a really good solution to it that I am missing.
To put this in context, I am establishing a single-sign-on connection
with another site. The users will login to my site and once logged in
there is a section for them to access a partner site. This partner
site accepts user registration and login automatically by a form POST.
I need a solid solution that a) does not rely on the browsers script
interpreting (vbscript, jscript, javascript, etc) b) is cross-browser
and if possible html 4.01 compliant, and c) resolves the problem of
relative links (including links to CSSs with relative links) if doing
server-side WebRequest and passing the returned content back up to the
browser.
Thanks for any guidance.
using hidden fields without introducing client-side script nor using a
server-side WebRequest by passing the information back up to the
browser while the base href is still set to my site. The problem I was
having with the server-side WebRequest is that the relative links of
the site I am posting to break. I could work my way around it probably
by adding a base ref in the returned html or parsing relative links
and replacing with absolute. I have seen a number of sites do a fairly
nice jump to another site while passing information via POST and was
curious if there is a really good solution to it that I am missing.
To put this in context, I am establishing a single-sign-on connection
with another site. The users will login to my site and once logged in
there is a section for them to access a partner site. This partner
site accepts user registration and login automatically by a form POST.
I need a solid solution that a) does not rely on the browsers script
interpreting (vbscript, jscript, javascript, etc) b) is cross-browser
and if possible html 4.01 compliant, and c) resolves the problem of
relative links (including links to CSSs with relative links) if doing
server-side WebRequest and passing the returned content back up to the
browser.
Thanks for any guidance.