ASP .NET Redirect Question.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all -

I'm hoping someone will be able to share their knowledge with me about this
issue I'm having because I have run out of answers. Here's the scenario....

I have a .aspx page that basically makes a call to a WSDL which returns a
RedirectURL that I need to navigate to to verify if I'm authorized to proceed
into an application. The moment I redirect to that login page and attempt to
login, it is detecting my original destination which I'm supposed to be
redirected back to but am only at a white page from their side.

I'm wondering that if I want it to return to my side that i have to interact
with it from a web service rather than a .aspx page. Has anybody ever
experienced this before? I'm thinking that since I'm running this locally,
it might not know how to return to my local and needs a defined IP address.

Any help is appreciated.
MN
 
MN:

I'm having trouble following the flow of events, apologies.

Are you trying to browse a WSDL document with the browser and being
redirected? Or are you trying to call a web service from your asp.net
app? Where does the white page come from?
 
Hi Scott,

Thanks for responding. As for the flow of events, no worries. Here's what
happening. I'll try to be more detailed.

I have an .aspx page which in the Page_Load event I am initially making a
call to a WSDL file which, given the proper parameters passed in, returns to
me a RedirectURL parameter (basically a direct path to a login page with a
querystring parameter). The moment I receive this parameter in code, I do a
response.redirect to that URL. Once I provide the username and password
within the page, the processing page behind it is supposed to capture the
page that I'm coming from and redirect me back with a unique ID attached in
the querystring that will determine if the userID is authorized to proceed.
Instead, once I click "Login", I'm sent to a blank white page.

What I'm wondering is that since I'm running this on my local workstation if
it needs a dedicated IP address, if my local workstation isn't sufficient.
Just wondering if you experienced this behavior before. It's with a client
"over the pond" so many things are different (no .asmx files, etc.) I should
be able to test this on my local workstation, right?

Hope this colors a better picture.

Any help is appreciated,
MN
 
Yes, I think you'd be able to get this to work on your local machine.

What should the white screen display? Usually web services don't have
anything to 'display' really, you invoke them programatically.
 
Thanks for your thoughts on the first item.

As for the screen, it actually should redirect back to my calling page and
jump into the Page_Load event again. So all I did was actually interface
with the web service method to get the data I needed (RedirectURL).

But as long as you state I should be able to run this locally from the
description, I'm leaning towards there being an issue on the other side with
returning to my calling page.

Any additional thoughts are appreciated.

Thanks for your time.

MN
 
Back
Top