I’m using Beaker Session on Google App Engine to manage persistent data between HTTP requests.
Is it possible to access same session from GET and POST request?
I tried to get access to session object but they are not the same object:
def get(self):
session = self.request.environ['test.beaker.session']
...
def post(self):
session = self.request.environ['test.beaker.session']
...
Take a look at this post talking about implementing something similar: Android: Example for using a cookie from HttpPost for HttpGet
The answer is that you need to make sure that the session cookie is stored on the android client side and is accessible throughout the interaction with your server.