Re: Issue with double redirect
- From: Seb <solive@xxxxxxxxx>
- Date: 30 May 2007 02:29:18 -0700
I have found some info more regarding this issue.
The external page the asp code is redirecting to is protected by NTLM,
so the first time, the user gets prompted his login/password, and the
redirect fails (the URL is appended to the current site).
The second time, the redirect works (as the user is already
authenticated).
Is there a solution to have a proper redirect to an external site/page
protected by NTLM works?
Thanks,
Seb
Seb wrote:
Thanks,
the example was poorly constructed, but our pages have the proper
encoding and URLs as parameters, so it appears to be an issue with the
redirect itself. The same happens when the URL is actually hard-coded
within our redirect page.
David wrote:
A problem with your redirect string as well is that you are missing a colon
: should be http://
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"marss" <marss.ua@xxxxxxxxx> wrote in message
news:1180000956.754523.289810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Seb wrote:
Hi,
We have a page in VB.NET redirecting to an external site.
Example:
http://mysite.com/redirect.aspx?url=http//externalsite.com/their-page.asp
If you want to pass a string containing slashes in the url as query
parameter you have to encode it.
Use HttpUtility.UrlEncode and HttpUtility.UrlDecode.
Regards,
Mykola
http://marss.co.ua
.
- References:
- Issue with double redirect
- From: Seb
- Re: Issue with double redirect
- From: marss
- Re: Issue with double redirect
- From: David
- Re: Issue with double redirect
- From: Seb
- Issue with double redirect
- Prev by Date: Re: Access to sql2005
- Next by Date: Re: Global Var
- Previous by thread: Re: Issue with double redirect
- Next by thread: AJAX Help.
- Index(es):
Relevant Pages
|