Works on development server but it doesn't on Google App Engine (Sessions).
Posted
by grep
on Stack Overflow
See other posts from Stack Overflow
or by grep
Published on 2010-04-14T14:20:47Z
Indexed on
2010/04/14
14:23 UTC
Read the original article
Hit count: 117
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"));
Edit:
The sessions are enabled. What I realized now is that the _ah_SESSION variable is not being created, not even on the development server (although it works).
© Stack Overflow or respective owner