on 1/29/01 11:27 PM, "Leon Messerschmidt" <[EMAIL PROTECTED]> wrote:

> If support was to be added to ParameterParser I think we could create some
> confusion with regard to the order of Cookies/Path_info/Post data.

PHP has this same problem. Solution was to make the ordering configurable.

>  Another
> problem is that cookies require some extra parameters (e.g. expiry time)
> that are not relevant to Path_Info/Post data.

No, you would just say:

HttpCookie ParameterParser.getCookie(String name)

> How about data.getCookies() that returns a CookieParser object.
> CookieParser and ParameterParser should inherit from the same base class and
> extra functionality as needed (e.g. expiry time for cookies).  By inheriting
> from the same base class it will be possible to use features like
> setProperties() for both ParameterParser and CookieParser, while still
> allowing extra features to be added.

I would be cool with that solution as well. +1

-jon

-- 
Honk if you love peace and quiet.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to