Re: [appengine-java] Session and AppEngine

2010-05-05 Thread Christian Goudreau
All my object implements Serializable and I don't think that explain why JSESSIONID isn't created... but thanks, I tried to revert back my actions that implements IsSerializable for Serializable, but it didn't work either. Christian On Tue, May 4, 2010 at 11:44 PM, yjun hu itswa...@gmail.com

Re: [appengine-java] Session and AppEngine

2010-05-05 Thread Stephan Hartmann
What is your logic that initiates a session? The container does not create a session if there is no need for it. In a servlet you can initiate a session by calling HttpServletRequest.getSession(true) and in a JSP by adding the attribute session=true to a page directive. Regards,

Re: [appengine-java] Session and AppEngine

2010-05-05 Thread Christian Goudreau
Yeah thanks, I used your tips and Guice serve and now it's working fine ! Christian On Wed, May 5, 2010 at 7:12 AM, Stephan Hartmann hartm...@metamesh.dewrote: What is your logic that initiates a session? The container does not create a session if there is no need for it. In a servlet you

[appengine-java] Session and AppEngine

2010-05-04 Thread Christian Goudreau
Hummm I got a weird issue I added to my appengine-web.xml this line : sessions-enabledtrue/sessions-enabled But no JSESSIONID cookie is created. Anyway Idea why ? Christian -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

Re: [appengine-java] Session and AppEngine

2010-05-04 Thread yjun hu
hi, are u using java ? if yes, the object you push into session must implements java.io.Serializable . you can follow this blog for more info: http://www.hapeblog.com/blog.shtml?id=7 On Wed, May 5, 2010 at 10:54 AM, Christian Goudreau goudreau.christ...@gmail.com wrote: Hummm I got a weird