Reposting.
----- 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&amp;lang=EN\n\n";
>     exit 0;
>
> 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.
>
> Thanks for the helps
>
> Vijay Nair
> ----- Original Message -----
> From: "Gerald Richter" <[EMAIL PROTECTED]>
> To: "Vijay" <[EMAIL PROTECTED]>; "Modperl Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, May 26, 2000 3:05 AM
> Subject: RE: Wierd problem with redirect
>
>
> > Hello,
> > >
> > >    print "Content-type: text/html\n\n";
> > >   print "<HTML><HEAD>";
> > >    print "<META HTTP-EQUIV=\"Set-Cookie\"
> CONTENT=\"visirotid=$visitorid;
> > > path=/
> > > ; domain=www.trichurgateway.com;\">";
> > >  print "</HEAD><BODY></BODY></HTML>\n";
> > >
> > > Immediately after this, Iam trying the recirect.
> > >
> > >     print "Content-type: text/html "."\n\n";
> > >     print "Location:
> > > /scripts/visitorinfo.cgi?pageid=mailhdr&amp;lang=EN\n\n";
> > >     exit 0;
> > >
> >
> > You cannot send a second http header.
> >
> > Do a
> >
> >      print "Content-type: text/html\n";
> > print "Set-Cookie: visirotid=$visitorid;...  \n" ;
> >      print "Location:
> > /scripts/visitorinfo.cgi?pageid=mailhdr&amp;lang=EN\n\n";
> >
> > Gerald
> >
> >
> > -------------------------------------------------------------
> > Gerald Richter    ecos electronic communication services gmbh
> > Internetconnect * Webserver/-design/-datenbanken * Consulting
> >
> > Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
> > E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
> > WWW:        http://www.ecos.de      Fax:      +49 6133 925152
> > -------------------------------------------------------------
> >
> >
>

Reply via email to