[WEB4LIB] Re: Redirect and form data

Leif Andersson leif.andersson at bibl.oru.se
Sun Dec 13 15:44:29 EST 1998


Thanks to all who responded to my redirect question.
Unfortunately, the meta tag solution suggested by many is inadequate.

JQ Johnson delivered the most thorough explanaition, concluding that
because of current implementations of the http protocol it is
practically impossible to do what I want to do.

(I may add that the flaw is probably on client side, as HTTP spec seems
to indicate actions not taken by browsers I've tested.)

He also suggested a kind of workaround: a dynamically generated document
returned to the client containing a form with all data VALUE-ed in
hidden tags, new
address provided in ACTION, a SUBMIT button and an instruction to the
visitor to please resend form data by pressing submit button.

I have made a first try on this and it seems to work.
For a bigger site it would not be so convenient, though, as you have to
either change all scripts or make symlinks.

If anyone is interested in the raw perl hack I've made for testing, mail
me and I'll be glad to send you the script.

Leif
-- 
Leif Andersson, systembibliotekarie
Hogskolan i Orebro, Biblioteket
SE 701 82  OREBRO
Tel: +46-19-303851  Fax: +46-19-331217


More information about the Web4lib mailing list