I'm developing a Java web application on GAE platform in which I'm storing an User
object in session. When I test my code in local development server (Windows XP + Eclipse), I'm able to get the User
object back from the session.
But when I deploy the same piece of code to GAE server, I'm facing issues with Session. I'm able to retrieve the session object but whatever the data I stored in session previously was missing.
Btw, I have enabled the sessions in appengine-web.xml
file by using <sessions-enabled>true</sessions-enabled>
.
Can anyone tell me if there is something that I'm missing here to use the sessions properly?
PS: I'm using struts2 and my actions implement SessionAware
to get the current session in my code.