473,795 Members | 2,830 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP .NET Redirect Question.

MN
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
Nov 19 '05 #1
5 1231
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?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 15 Dec 2004 09:41:02 -0800, "MN"
<MN@discussions .microsoft.com> wrote:
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


Nov 19 '05 #2
MN
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.redire ct 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

"Scott Allen" wrote:
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?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 15 Dec 2004 09:41:02 -0800, "MN"
<MN@discussions .microsoft.com> wrote:
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


Nov 19 '05 #3
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 .

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Wed, 15 Dec 2004 11:21:01 -0800, "MN"
<MN@discussions .microsoft.com> wrote:
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.redir ect 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

"Scott Allen" wrote:
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?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 15 Dec 2004 09:41:02 -0800, "MN"
<MN@discussions .microsoft.com> wrote:
>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



Nov 19 '05 #4
MN
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

"Scott Allen" wrote:
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 .

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Wed, 15 Dec 2004 11:21:01 -0800, "MN"
<MN@discussions .microsoft.com> wrote:
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.redir ect 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

"Scott Allen" wrote:
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?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 15 Dec 2004 09:41:02 -0800, "MN"
<MN@discussions .microsoft.com> wrote:

>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


Nov 19 '05 #5
No problem, if you want to post some code that might help.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 15 Dec 2004 13:19:03 -0800, "MN"
<MN@discussions .microsoft.com> wrote:
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

"Scott Allen" wrote:
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 .

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Wed, 15 Dec 2004 11:21:01 -0800, "MN"
<MN@discussions .microsoft.com> wrote:
>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.redir ect 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
>
>"Scott Allen" wrote:
>
>> 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?
>>
>> --
>> Scott
>> http://www.OdeToCode.com/blogs/scott/
>>
>> On Wed, 15 Dec 2004 09:41:02 -0800, "MN"
>> <MN@discussions .microsoft.com> wrote:
>>
>> >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
>>
>>



Nov 19 '05 #6

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

Similar topics

5
2197
by: Steve Lutz | last post by:
Hello, I have a page that creates a class, and then on certain conditions, redirects user to another page. The class has a Class_Terminate() function that saves itself to a database. The class comes from an includes ASP file, it isn't a COM object. Here's my code outline (not actual code for brevity - in otherwords, there may be syntax errors, but that's not the cause of the problem)
2
7814
by: Robert Gordon | last post by:
I now realize I probably should have tried posting this on the IIS board first.. I am running OWA 2003 Server as Front End server to my Exchange 2000 native domain. The FE server is secured by a 128 bit SSL cert. The OWA 2003 server is running on Windows 2003 server in a Windows 2003 native AD domain. At present, the server is configured so that user's have to specifically go to the URL httpS://myserver.company.com in order to access...
4
3063
by: JC | last post by:
Hi, I have a simple question regarding the Response.Redirect method. Does the server stop processing the ASP code as soon as it encounters the Redirect command? Or does it ever continue to process the page? Basically, with the following code: Response.Redirect("../newpage.asp")
1
15336
by: Peter Kirk | last post by:
Hi there I have a program written by another company (it's a "web control" which returns a web-page: can I compare this to a servlet in the Java world?), which they think is causing problems on their server. But no-one really knows if this program is at fault because the problem only exhibits itself every once and a while, and the only thing they can see is that their web-users suddenly stop receiving responses.
3
818
by: Sehboo | last post by:
On my ASP page, when I click a button, I want to do three things: 1. Check for some values. 2. Open a new window and pass some values as query string. 3. Redirect to some other page Here is the code: If (sServiceCenter = "*ALL") Then sServiceCenter = "%"
7
1675
by: Markus McGee | last post by:
Hi all, I have a quick question...I believe. On my web page, call it page A, I have a drop downlist with runat server enabled. When the drop downlist change event occurs it repopulates a table depending on the value selected on page A. After I redirect page A to some other page, call it page B, and use the IE Back button to change my selection on the page A the page is forwarded to page B without rebuilding the table on page A and...
2
6015
by: news://news.microsoft.com/microsoft.public.de.germ | last post by:
Hallo! Ich habe ein Frameset mit 3 Frames. Im 1. Frame wird eine ASPX-Seite geöffnet. In dieser werden einige Steuerelemente angezeigt. Nun soll bei bestimmten Benutzeraktivitäten eine andere ASPX-Seite geöffnet werden, und zwar in einem der beiden anderen Frames. Mein Problem ist, dass die Seite, die geöffnet werden soll, manchmal im 2. und manchmal im 3. Frame angezeigt werden soll (je nach Benutzeraktivität).
1
4268
by: David | last post by:
I need to redirect to a page and HTTP Post data. The Response.Redirect does not work and the HTTPREQUEST option calls the page and waits for a response, but I need to transfer control to the page. Eg. Redirect and POST data. The only way I can see to do this is to format a HTML/POST, with Javascript, page and use the RESPONSE.WRITE option. Thanks
3
5507
by: Alan Silver | last post by:
Hello, Sorry if this is a stupid question, but I can't really see much difference between these tow methods according to the scant info in the SDK. Could anyone enlighten me? TIA -- Alan Silver
9
4348
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case). The browser then makes a new request to the server to redirect itself to abcd.asp after which the user gets redirected to abcd.asp. But in case of Server.Execute (or Server.Transfer), when the server
0
9673
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
10002
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
9044
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
7543
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
6783
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
5437
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
4113
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
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2921
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.