In JEE web application, we are used to keeping objects required in session, so that it can be retrieved in some other call flow.
But by default GAE doesn't support session management.
To enable it you have to do following.
Open WEB-INF/appengine-web.xml
Enable session by uncommenting
true
But to make it work on hosted app engine, all the objects which you are planning to put in session must implement Serializable interface.
Now app engine will put your session data into storage system (Bigtable). You can see it by viewing your datastore viewer. Search by kind _ah_SESSION
To enable it you have to do following.
Open WEB-INF/appengine-web.xml
Enable session by uncommenting
But to make it work on hosted app engine, all the objects which you are planning to put in session must implement Serializable interface.
Now app engine will put your session data into storage system (Bigtable). You can see it by viewing your datastore viewer. Search by kind _ah_SESSION
No comments:
Post a Comment