Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > How to return values from a response.redirect

Reply
Thread Tools

How to return values from a response.redirect

 
 
Kostas kousinovalis
Guest
Posts: n/a
 
      02-08-2004


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!
 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      02-08-2004
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" <> wrote in message
news:...
>
>
> 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!



 
Reply With Quote
 
 
 
 
Bullschmidt
Guest
Posts: n/a
 
      02-10-2004
<<
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!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: Unpack less values from function's return values Chris Rebert Python 1 05-28-2009 02:47 PM
what value does lack of return or empty "return;" return Greenhorn C Programming 15 03-06-2005 08:19 PM
How do I return a return-code from main? wl Java 2 03-05-2004 05:15 PM
Return a return value from Perl to Javascript PvdK Perl 0 07-24-2003 09:20 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57