Vijay wrote:
>
> Repost of my earlier message. Sorry for the inconvenience. As this is very
> irksome, I am really sorry for any troubles.
>
> Vijay
> ----- Original Message -----
> From: "Vijay" <[EMAIL PROTECTED]>
> To: "Gerald Richter" <[EMAIL PROTECTED]>; "Modperl Mailing List"
> <[EMAIL PROTECTED]>
> Sent: Friday, May 26, 2000 10:58 AM
> Subject: Re: Wierd problem with redirect
>
> Hello,
>
> Thanks for the suggestion. However, I have a problem still left out.
>
> The redirection is loading the redirected page properly. But, it still
> shows
> the URL as the same from where it is redirected.
>
> As below:
>
> My form calls the script
> "/scripts/visitorinfo.cgi?pageid=delmail&lang=EN&adno=1".
>
> In visitorinfo,.cgi, I have following steps
>
> print "Content-type: text/html\n";
> print "$mycookie\n";
> print "Location:
> /scripts/visitorinfo.cgi?pageid=mailhdr&lang=EN\n\n";
> exit;
>
> It really goes to the page mailhdr with appropriate details. But the
> address
> in the browser is still
> "/scripts/visitorinfo.cgi?pageid=delmail&lang=EN&adno=1".
>
> This gives a problem. If the user reloads the page, it will again try to do
> what I am doing in this, which I don't want to happen.
>
> How do I make the address (URL) to change according to the page it is
> showing.
You might want to try adding a Status 302 (moved temporarily) header. I
don't know if it would solve your problem, but it shouldn't hurt since
it's already "broken" in your eyes. :-)
--
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/