Have you enabled sessions? See
http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessions

On Apr 13, 5:52 pm, TiagoP <pix...@gmail.com> wrote:
> Hi,
>
> I have this code that works just fine on the development server but
> when I deploy the application, the session isn't created.
>
> What am I doing wrong?
>
> HttpSession session = req.getSession(true);
> session.setAttribute("loggedIn", new String("true"));

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