[Lispweb] Re: Webactions

Petter Gustad gmane at gustad.com
Tue Oct 11 15:45:16 CDT 2005


John Foderaro <jkf at franz.com> writes:

> >> 3) Limit the size of uploaded files. There is a way to do this under
> >>   Allegroserve, but what is the recommended method under Webactions?
>  
>  When you upload a file the browser will be sending a POST of content type
> multipart/form-data.   With both AllegroServe and Webactions you the 
> website designer must write the code to read the form data in 
> this case. We provide help you do the reading and one of them
> (get-all-multipart-data) obeys any size limits you may wish to impose.

I can read the form data fine with get-multipart-sequence. However, in
the case where I don't want more data (file too big or wrong document
format) I simply don't call get-multipart-sequence. However, this
results in a "The document contains no data" on the client side. Is
there a way to tell AllegroServe that I don't want any more data in
the current multipart sequence?

Petter
-- 
________________________________________________________________________
Petter Gustad         8'h2B | ~8'h2B        http://www.gustad.com/petter




More information about the lispweb mailing list