By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,358 Members | 2,811 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,358 IT Pros & Developers. It's quick & easy.

How to return values from a response.redirect

P: n/a


Hello
I have a asp page which it post some values to an external web page (not
mine) with the method response.redirect
(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.redirect 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
Share this Question
Share on Google+
2 Replies


P: n/a
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**@lexiconsoftware.gr> wrote in message
news:OR*************@tk2msftngp13.phx.gbl...


Hello
I have a asp page which it post some values to an external web page (not
mine) with the method response.redirect
(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.redirect 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

P: n/a
<<
Hello
I have a asp page which it post some values to an external web page (not
mine) with the method response.redirect
(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.redirect 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 discussion thread is closed

Replies have been disabled for this discussion.