W3C home > Mailing lists > Public > www-talk@w3.org > November to December 2001

Re: Make browser recognize new page on return from POST

From: John Hardy <jh@lagado.com>
Date: Wed, 21 Nov 2001 22:17:29 +1100
Message-ID: <025101c1727e$1e103930$fe482bcb@lagado.com>
To: "Parenti, Mark" <MParenti@Pirus.com>, <www-talk@w3.org>
I'm not certain I completely understand the problem.
Are you posting to page2.html in this case?

i.e. <form method="POST" action="page2.html">

...john


----- Original Message -----
From: "Parenti, Mark" <MParenti@Pirus.com>
To: <www-talk@w3.org>
Sent: 14 November 2001 10:59
Subject: Make browser recognize new page on return from POST


: I'm trying to figure out how to get a browser to update the page location
on
: return from a POST. In our case, the user submits some form information.
We
: then return a page that we wish to have the browser identify as a
different
: page from the one posted. This is because we have page-specific links on
the
: new page (a link to page-specfic help as one example). So we have the
: following situation:
:
: >From page1.html, the user does a POST (via a Submit button)
: The server returns page2.html
:
: The browser (both IE and Netscape) still identify the returned page as
: page1.html.
:
: I've tried various combinations of return status code (201 Created seemed
: like the best bet, but I also tried 301 and 307) and variations on the
: "Location:" and "Content-Location:" headers but have not been able to get
: this to work. Using a return code of 307 did get the browser (IE) to
change
: the name of the returned page to "page2.html", but it then appeared to try
: to redirect to the new page. I don't want it to do that, only to update
it's
: "name" for the page.
:
: Any help?
:
: Mark
:
:
: -----------------------------------------------------------------------
: Mark Parenti
: Member of Technical Staff
:
: Pirus Networks, 43 Nagog Park Acton, MA, 01720
: e-mail: mparenti@pirus.com. tel: (978) 206-9161
:
:
Received on Wednesday, 21 November 2001 06:16:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:27 GMT