[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Redirects and address bar


And does the address bar in IE always reflect the
proper destination after the redirect?
--Jon



----- Original Message ----- From: "Rob Kinyon" <suppressed>
To: "Jonathan Mangin" <suppressed>
Sent: Thursday, November 04, 2004 1:51 PM
Subject: Re: [cgiapp] Redirects and address bar


I'm not quite sure what you're getting at here ... One thing I would
say is that you probably want to use add_header_props() and not
header_props(). The latter overrides the properties already set ...
the former adds to them, leaving things like -expires and the like
around.

As for IE not handling redirects in a row ... an internal app we have
does 7(!) redirects in a row and IE shows them all correctly.

Rob

On Thu, 4 Nov 2004 10:29:43 -0500, Jonathan Mangin
<suppressed> wrote:
Hi,

I redirect users to another application after a successful login.

$url = "http://some.where";;
$self->header_type('redirect');
$self->header_props(-url => $url);

Works great, the address bar reflects the new location.
If the session times out, the user is redirected back to login.

$url = "https://back.here.again";;
$self->header_type('redirect');
$self->header_props(-url = $url);

Works great, but the address bar still shows old location. Are
too many redirects in a row causing IE to lose track? Is there
something I can do to force proper address showing?

Thanks.

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.