Redirect with POST

T

Thom Little

In ASP.NET 2.0 C# I need to redirect to an .ASP or .HTML page and include
POST data (i.e., formatted like a form. The form data is changed
dynamically by the C# page.

Can anyone point me to an example?
 
T

Thom Little

Thank you for the lead ...

To pass a string shouldn't you be able to ...

Response.ClearHeader( );
Response.AddHeader( "x", "a=alpha&b=beta" );
Response.Redirect( strUrl );

.... while you specify the correct header ("x") for any form without worrying
about the name?
 
T

Thom Little

I find your information very helpful and I appreciate you taking the time to
share it with me.

I tried to find the article on your Blog and could not find it. Can you
point me in the right direction?

Thanks.
 
T

ThunderMusic

Hi,
Wouldn't a Server.Transfer(...) do the trick?

I hope it helps

ThunderMusic
 
T

Thom Little

Unfortunately Server.Transfer( ) is restricted to transfer between webspcaes
on the same server.

In my case some of the web are on other servers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top