[WEB4LIB] Redirect and form data

Humbert Suarez humbert at mwsearch.com
Fri Dec 11 22:56:30 EST 1998


You can use the <META> tag as indicated in previous messages,
but also with a Perl script. The Perl script can determine the arguments
that were passed by the user, then form a redirected URL with those
arguments, and insert it into the meta tag.

Humbert H. Suarez, MD PhD
President, Medical World Search Division
"Medical World Search - Medical Intelligence at Your Fingertips"
http://www.mwsearch.com
TLC Information services
humbert at mwsearch.com


>(I have searched old postings on redirection, but not found my
>particular problem discussed.)
>
>Redirection can be done in many ways.
>
>But how if I want two things to happen:
>1. First display a message that the site has moved
>2. Then automatically take the visitor to the new place.
>
>I thought I had a solution: a perl script triggered on document not
>found.
>
>But. If the visitor had filled in a form and posted, the posted data was
>"lost" at the time the new cgi-script was launched.
>
>Then I tried to put "Redirect" in an .htaccess-file to redirect to the
>new cgi-script (and just skip the enlightening message I had prepared).
>Didn't work either.
>
>At least not with the Netscape 4.04 (Win95) I am using.
>
>I think the HTTP spec is talking about browsers should repost form data
>to new URL on redirection. But I could have misunderstood.
>
>Is there a solution to this?
>Btw, I am using apache (rather old: 1.1.1)
>
>Leif
>-- 
>Leif Andersson, systembibliotekarie
>Högskolan i Örebro, Biblioteket
>SE 701 82  ÖREBRO
>Tel: +46-19-303851  Fax: +46-19-331217
>


More information about the Web4lib mailing list