On Nov 9, 2007, at 12:24 AM, Mattias Jiderhamn wrote:

> Hi.
> I browsed the Resin 3.1 release notes yesterday, and noticed the
> Hessian2 serialized sessions that "will reduce the serialization size
> significantly".
>
> So today I had an idea that may be interesting to some: Why not create
> utility methods for storing Hessian serialized objects in cookies?
> It is possible to serialize Java objects into byte arrays, which you
> would then Base64 encode (or something similar) to store in a cookie.
> One of the problems is the limit in size on cookies, so if Hessian  
> will
> reduce this size, it might be useful.

I'd think it would be a security nightmare.  Cookies should remain  
cookies.

And reducing significantly is still not the same as "small".  For a  
JSF example, Hessian's session size was about 1/4 of the java.io  
size, but still easily over 1k.  (Granted, JSF is a pig.)

-- Scott
>
> I have not created a feature request since it's not something I
> personally need at the moment.
>
>  /Mattias
>
>
> _______________________________________________
> hessian-interest mailing list
> [email protected]
> http://maillist.caucho.com/mailman/listinfo/hessian-interest



_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to