473,789 Members | 2,495 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to return values from a response.redire ct



Hello
I have a asp page which it post some values to an external web page (not
mine) with the method response.redire ct
(http://www.website.com/page.asp?user...assword=mypass)
The external web page response OK if the user exist and Error if the
user not exists.
How can I take this data to send it to my own pages somewhere?
After the response.redire ct I lost control
Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
2 4702
Once the user is redirected to another site, it's out of your control. You
could, instead of redirecting, make the HTTP request on behalf of your user
from your server and parse the response from the server to see what would
have happened had you redirected the person. Take a look here:
http://www.aspfaq.com/show.asp?id=2173

The remote page you'll want your ASP code to read is
http://www.thatotherwebsite/page.asp...&password=pass
--

Ray at home
Microsoft ASP MVP
"Kostas kousinovalis" <in**@lexiconso ftware.gr> wrote in message
news:OR******** *****@tk2msftng p13.phx.gbl...


Hello
I have a asp page which it post some values to an external web page (not
mine) with the method response.redire ct
(http://www.website.com/page.asp?user...assword=mypass)
The external web page response OK if the user exist and Error if the
user not exists.
How can I take this data to send it to my own pages somewhere?
After the response.redire ct I lost control
Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #2
<<
Hello
I have a asp page which it post some values to an external web page (not
mine) with the method response.redire ct
(http://www.website.com/page.asp?user...assword=mypass)
The external web page response OK if the user exist and Error if the
user not exists.
How can I take this data to send it to my own pages somewhere?
After the response.redire ct I lost control
Thanks


Well if the other site could redirect back with a querystring (like
PayPal can) you'd be set...

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1731
by: Dr. Know | last post by:
When using the Response.Redirect in test1.asp in this manner: Response.Redirect ("test2.asp?err=something&msg=somethingelse") You can pass values calculated in test1.asp to test2.asp. But this is a round trip redirect - and also shows passed values in the address bar. But when using Server.Transfer, as in:
7
43277
by: Anne | last post by:
hie there, i want to be able to pass multiple parameters to another page. currently, i am able to do so, but somehow i feel it is not the correct way to do it. below is part of what i have so far. 'first page Private Sub btnOK_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click Response.Redirect("InputValues.aspx?Requestor=" &
2
1103
by: sivashankar | last post by:
hi experts -In asp.net i'm having form1 and form2. -Form :1 -I'm posting data by following code: Response.Redirect("WEBFORM2.ASPX?A=" & TextBox1.Text) Response.Redirect("WEBFORM2.ASPX?B=" & TextBox2.Text) -Form :2 -In page load
3
2285
by: neil_pat | last post by:
I have a stored procedure which returns a value of between 0 and 4. I want the user to press a button to receive feed back on their last input. The save button takes the input and saves it to the database. The feedback button runs a stored proc that takes the saved data from the table, performs a logical calcualation and returns the right value between 0 and 4. Depending on the value returned the redirect page is different. Here is...
2
1142
by: Imran Aziz | last post by:
Hello All, I am using Response.Redirect to transfer control from one page to another and in doing so , I transfer values in query string , but now I don't want the values to be transferred in query string, but instead I want the values to be submitted to the new page, is there a way to do that in ASP.net ? The page need to auto submit the values to the next page without the requirement of any client interaction. Any suggestions please ?
2
3193
by: KFactor | last post by:
Is it possible to pass form variables to a page on another server using response.redirect? Or is there a secure way of passing sensitive information from one site to another such as a userID? I would like to avoid using the querystring. This is what I would like to do: When a user clicks on the link, I need to add them to the database and then
0
1106
by: airezz80 | last post by:
Hi, I am trying to achieve the following: Webform1: has a button button1 and a listbox: listbox1 webform2: two listboxes The logic behind the button is to retrieve the records from a sql db and forward it to a string.. which it does beautifully. The issue that i face right now is:
2
2317
by: sindhudixit | last post by:
Hey, I am having a user fill out a form then the fields are going to uploaded to my database. So, at this point, when the user hits the submit button I want three things to happen: 1. The form uploads to a database (the following code does this) 2. An e-mail is sent to my sales team as well as the customer, which contains the form values . 3. I want the user to then be directed automatically to another webpage, after they hit the...
0
2877
by: chandrasekhar | last post by:
Hi I have developed a web page with some controls. I put all of them in session variables. I passed this values in the page. When an user enter some data in form fields and click the buttton , these values are displaying in next page.after displaying in next page, when click back button to see my entered values for change , no values are in the form fields. the fields are empty .I tried with enable view state=true in controls and at the...
0
9663
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6761
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5548
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3695
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2906
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.