Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Using POST request method between servers?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
VagabondSW - 16 May 2008 13:21 GMT
I am working on a project where my client-side Windows application sends a querystring to a URL on a server hosted in
New York.  The landing page on that server simply redirects the client to another URL on a server in San Francisco that
contains the web application.

Right now, the querystring is visible to the end-user.  It's not a big deal because I am not using it to send any
secrets, but it has been suggested to me to use POST instead of GET to pass this information.

I was under the impression that the POST request method only worked on the same server.  Is it possible to use the POST
method instead of the querystring in the scenario described above?

Thanks,

Carl
Aidy - 16 May 2008 14:10 GMT
No, you can POST across servers, but you can't POST using Response.Redirect.

>I am working on a project where my client-side Windows application sends a
>querystring to a URL on a server hosted in New York.  The landing page on
[quoted text clipped - 12 lines]
>
> Carl
George Ter-Saakov - 16 May 2008 18:34 GMT
It's possible with Javascript
do somehting like that in your HTML page
<HTML>
<BODY>
<form name="MYFORM" id="MYFORM" method="POST"
action="http://www.anotherserver.com">
<input type="hidden" name="user" value="George">
</form>
<script>
document.MYFORM.submit();
</script>
</BODY>
</HTML>

Obviously will not work with Javascript disabled.

George.

>I am working on a project where my client-side Windows application sends a
>querystring to a URL on a server hosted in New York.  The landing page on
[quoted text clipped - 12 lines]
>
> Carl

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.