when I writing this,I try to re-set the attribute, it works,
at the end of second set the "client" again.
FlexContext.getFlexSession().setAttribute("client", _session);

2009/11/18 magic.yang <zju...@gmail.com>

> first request: login by username and pwd, and create the session
> _session = new FbdanciSession();
> _session.setUser(user);
> FlexContext.getFlexSession().setAttribute("client", _session);
>
>
> second request: update the _session
>
> _session = FlexContext.getFlexSession().getAttribute("client");
>
> _session.setName("I am not null");
>
FlexContext.getFlexSession().setAttribute("client", _session);

>
> third request: print the name
>
> _session = FlexContext.getFlexSession().getAttribute("client");
> System.out.println(_session.getUser());// the reuslt is not null;
>
> System.out.println(_session.getName());// the reuslt is null;
>
> I don't know what happened , could anyone help me out;
> advance thanks
>



-- 
best regards,

--

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=.


Reply via email to