Finally got it all figured out. You have to delete both the memcache
session entry and the datastore record. The sessions are not managed
this way othe dev server it seems, so it won't work in that context.
Here is the code:
if(foundUser.getSessionId() !=
null
Thanks for the response Didier!
I know I can store the session id, but how do I then retrieve the
session object by id? I have been looking at ways to access
_ah_SESSION entities using the low level datastore api like this:
DatastoreService ds =
DatastoreServiceFactory.getDatastoreServ
Hi,
Yes, the simplest way is to store the session id in the datastore.
You can get a session id via javax.servlet.http .HttpSession.getId();
regards
didier
On Feb 26, 7:51 pm, Scott wrote:
> Howdy,
>
> I want to only allow my users to have a single session at a time. The
> act of logging in s