Re: Problem redirecting
From: David Wang [Msft] (someone@online.microsoft.com)
Date: 02/21/03
- Next message: David Wang [Msft]: "Re: Keep impersonated user during session. Please help."
- Previous message: MajorGaines: "Re: IIS 6 & ASPX"
- In reply to: Tasha: "Problem redirecting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "David Wang [Msft]" <someone@online.microsoft.com> Date: Thu, 20 Feb 2003 21:56:12 -0800
Sounds like an ASP coding problem to me (check out aspfaq.com or the public
ASP newsgroups on this news server), possbly due to how you used Frames or
other Execution transfers. If you don't like the way Response.Redirect
works, you can do it all yourself:
<%
Response.Status = "302 Redirect";
Response.AddHeader("Location:", "the exact url you want");
%>
If you wanted, you could even add in the little response entity body that
Response.Redirect would add in for browsers that don't understand 302
redirection (which should be very few...). That's all Response.Redirect
"url" comes down to.
-- //David This posting is provided "AS IS" with no warranties, and confers no rights. // "Tasha" <toverton@investmentscorecard.com> wrote in message news:066e01c2d923$b09c9610$3001280a@phx.gbl... I have two web projects one on port 80 and one on port 87, both using the same site server membership directory. The one on port 80 works fine, but the one on port 87, I can get it to authenticate, but when it is time for it to redirect to a page on the web site it attaches the url to the querystring instead of redirecting it, ex: http://web_server:87/_mem_bin/FormsLogin.asp?/SystemAccess /xtCheckUser.asp?frNameQ=&URL= it should be going to: http://web_server:87/SystemAccess/xtCheckUser.asp? frNameQ=&URL= from: Response.Redirect "/SystemAccess/xtCheckUser.asp? frNameQ=" & Request.Cookies("frName") & "&URL=" & Server.URLEncode(strURL) Is there a setting or something that is missing? Thanks, Tasha
- Next message: David Wang [Msft]: "Re: Keep impersonated user during session. Please help."
- Previous message: MajorGaines: "Re: IIS 6 & ASPX"
- In reply to: Tasha: "Problem redirecting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|