473,320 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

POST and Redirect from VB.net webpage to PHP webpage

1
Hi all,
I need a solution in VB.net to POST the variables and do a redirect to a php page where it accepts all the variables passed by the vb.net page

Please treat this as urgent!

Thanks
Sep 7 '10 #1
2 2749
Frinavale
9,735 Expert Mod 8TB
Using VB.NET, you can redirect the user to another page using the Response.Redirect("url",true) method.

You will have to pass the "variables" via the URL so that you can retrieve them in the PHP page.

-Frinny
Sep 20 '10 #2
You cannot POST from a redirect done one the server side. A Response.Redirect is going to give the client a 302 response with the new url. The verb is not specified and the client will do a GET on a redirect. The client needs to post themselves. You put your variables in the query string instead or if you need to post maybe use the PostBackOptions class to specify a different url to post the form to from the client.
Sep 22 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: jnelson | last post by:
Hi all... I'm hunting for a script that would allow me to place a wide-open wireless access point in my client's business. Then, anyone connecting and then surfing a webpage would be redirected...
2
by: Ben | last post by:
Hi I have the two funcions below, login_web that posts data to a webpage and fcn_parseviewstate that parses the viewstate data for the post. I have a problem with the strPostData, I have been...
2
by: ABC | last post by:
I have a frameset asp.net site. I want add a link to logout. I can redirect the page to login page. But it showed on one frame, not my expected the whole browse area. How should I do?
6
by: mynick | last post by:
how to redirect a webpage in php
0
by: barrybevel | last post by:
Hi, I'm trying to login to the www.vodafone.ie website using HttpWebRequest. It works fine with IE/Firefox and the .NET Web Control too, just not with my code. I think it's a redirect 302...
5
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
I am trying to create ASPX code which will allow me to redirect a user to another site with POST data. I figure that the best way to do this is with JavaScript to the client. Here's what I'm doing:...
7
by: arunkumar2006 | last post by:
i want to redirect visitors from my old website url to a new url coz my website has been moved. how i can do it using html code??
0
by: KyleUbenk | last post by:
Well I have a problem that i want to send a Post Request to a Webproxy site like http://www.cloakme.us/ with the parameter __new_url and a value of another site which I want to login with a ...
10
by: Eirik Eldorsen | last post by:
How can I 301 redirect www.example.com/default.aspx to www.example.com without using ISAPI filters?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.