http / browser help: changing url in location window
Python
python at venix.com
Wed Feb 1 12:55:01 EST 2006
I am doing a survey application (It will show up as HowsYourCare. It
is not yet visible to the world.). So the URLs look like:
http://HowsYourCare.org/survey/01
the form action will be:
/survey/02
the next screen, and things work well so long as the forms are processed
in sequence.
However, some forms become irrelevant depending upon the responses. In
that case, the irrelevant form(s) are skipped and the next usable form
is presented. However, the URL displayed in the browser came from the
last form action and shows the URL for the first skipped screen. This
is not a show-stopper, but I would prefer forcing the display of the
real URL. I am testing with Firefox.
Using a Location header with status 201 has no effect.
Using a Location header with status 302, 303 forces a GET (not a POST)
to the new location and fouls up the survey. I do not want to do the
necessary programming to support GETs. (The site management has a
policy against cookies, and I can't think of any other way to maintain a
session through a GET.)
Content-Base and Content-Location headers with status 200 had no effect.
All suggestions are welcome. I can test them reasonably easily. I hate
to just give up.
--
Lloyd Kvam
Venix Corp
More information about the gnhlug-discuss
mailing list