Re: Problem redirecting

From: David Wang [Msft] (someone@online.microsoft.com)
Date: 02/21/03


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


Relevant Pages

  • Re: POE and Port Redirection
    ... > The client will create many session on the same port on the Server. ... > redirect, but I am at a loss from where to from here. ... sub forwarder_create { ...
    (comp.lang.perl.misc)
  • Virtual host "lite"?
    ... redirect an incoming we request based on DNS name, ... "http://webmail.domain.com " will automatically be redirected to port ... fall over and the Boss works out what a "server" is.. ...
    (comp.os.linux.networking)
  • Re: port redirect not accepted?
    ... I'm using an ubuntu box with IPTables 1.3.3, ... I want to route all incoming connections to port 6603 to be redirected to port 3306; ... I made a redirect for this which does just that, but now it still doesn't accept it, because my default input rule is to DROP. ... My box hangs on the net and has two interfaces, eth0 and 1. ...
    (comp.os.linux.networking)
  • SuSE 9.1: iptables problem (-t nat OUTPUT) - a bug???
    ... the address translation in the OUTPUT nat table is not ... redirect an access to the external destination port 80 to port 3128 ... In the firewall script above I have installed a redirect in the ... PREROUTING chain and I have locked the INPUT chain in order to be able ...
    (comp.os.linux.networking)
  • Re: Gateway / Port redirection
    ... By default it listens on port 1523. ... rinetd redirects TCP connections from one IP address and port to another. ... rinetd does not redirect FTP, because FTP requires more than one ... > as it would be a PITA to change all the machines on the LAN ...
    (freebsd-questions)