W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Re: Postform & Redirect

From: Yue Dong <ydong@andrew.cmu.edu>
Date: Sat, 12 Dec 1998 15:03:17 -0500 (EST)
To: Henrik Frystyk Nielsen <frystyk@w3.org>
cc: www-lib@w3.org
Message-ID: <Pine.SOL.3.96L.981212145945.994A-100000@heinz2.library.cmu.edu>

I tried postform.c. What postform does is to reponse the POST request, and
send back the content. BUT, it did NOT redirect to new URL -- it still
stay on OLD URL.

Any idea? Thanks a lot!


--Yue
On Sat, 12 Dec 1998, Henrik Frystyk Nielsen wrote:

> At 12:37 11/12/1998 -0500, Yue Dong wrote:
> 
> Yes, it does understand redirections on PUT and POST. I think the sample
> program
> 
> 	http://www.w3.org/Library/Examples/postform.c
> 
> should already be setup for this. Have you tried?
> 
> Henrik
> 
> >Can libwww handle the function of post a form AND redirect to a specified
> >URL? Well, postform.c could post a request, but does not satisify the
> >requirement of redirection. What I mean is just the same as the function
> >of FROM-ACTION in html, like this form:
> >
> >  <FORM METHOD=POST ACTION=<To-Be-Redirected-URL>
> >
> >     <Input TYPE="hidden" ....>
> >
> >   
> >  </FORM>
> 
> 
> --
> Henrik Frystyk Nielsen,
> World Wide Web Consortium
> http://www.w3.org/People/Frystyk
> 
Received on Saturday, 12 December 1998 16:31:09 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:23 EDT