473,802 Members | 1,955 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 4705
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
1732
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
43278
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
1104
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
3194
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
2326
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
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10305
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10285
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9115
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
7598
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
6838
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
5494
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...
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.