What strange behaviour exactly? I think you should serialize the
portfolio object before you should store it to session.
Another thing is, IMO you should not store too many things to the
session. But that's me. I'd like to know other people's thoughts....

On Nov 24, 9:37 am, Don <lydonchan...@gmail.com> wrote:
> Hi,
>
> I am trying to store an object in the session in servlet by
> req.getSession().setAttribute("portofolio", portofolio);
>
> where portofolio is an object with about 10variables and functions.
>
> However, App engine behaves strangely when I do this, so I resorted to
> just saving strings into session attributes.
>
> Is this the correct behaviour? (where I could not set arbitrary object
> except string into session attributes?)
>
> Many thanks

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to