Re: Postform & Redirect

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 UTC