Seleronm:

Thanks for the suggestion, but sadly I've already tried that solution
without success. I got all the _ah_SESSION entities, deleted them from the
datastore, and also deleted them from the memcache, but it didn't work.

I'm convinced that the admin console should provide a feature to remove
sessions, not only inactive ones but also active ones (which of course is my
case).

Is there some Google developer around? Please, this is keeping us from
deploying new versions because we don't want to have to tell the users "you
need to delete your cookies so the site can work again".

Thanks,

Esteban

On Fri, Apr 16, 2010 at 11:58 PM, seleronm <[email protected]> wrote:

> Hi,
>
> Though it is not a question to me
>
> I think that the following sources might be useful for the acquisition
> of the key used with memcache.
>
> DatastoreService service =
> DatastoreServiceFactory.getDatastoreService();
> Query query = new Query("_ah_SESSION");
> PreparedQuery pq = service.prepare(query);
> List<Entity> list = pq.asList(FetchOptions.Builder.withOffset(0));
>
> String keyValue = "";
>
> for (Entity e : list) {
>        keyValue += e.getKey().toString() + "\n"; //get property(This might
> be useful. )
> }
>
> Hope some of this helps!
>
> Plase try.
> Thanks.
>
> > Hi david:
> >
> > Could you finally remove a complete session manually? Because I'm trying
> to
> > do the same.  What's the key that should be used in the memcache?
> >
> > Thanks,
> >
> > Esteban
> >
> >
> >
> > On Mon, Dec 28, 2009 at 1:32 AM, m seleron <[email protected]> wrote:
> > > Hi,
> >
> > > Supplement is
> > > As another solution,
> > > I think sessionCleanupServlet also useful for examining things.
> >
> > > Thanks.
> >
> > > On 12月28日, 午後12:56, m seleron <[email protected]> wrote:
> > > > Hi,
> >
> > > > In detail though it doesn't examine
> > > > I think that the following content serves as a reference.
> > >
> http://code.google.com/intl/us/appengine/docs/java/config/appconfig.html
> > > > Please look at the chapter of[Enabling Sessions] and [prefix of _ahs]
> >
> > > > I think that key of memcache turns out by the value of getKey of
> > > > [_ah_SESSION] and this link.
> >
> > > > Please Try,
> > > > thanks.
> >
> > > > On 12月24日, 午後3:59, David <[email protected]> wrote:
> >
> > > > > I need to clear a session manually from a servlet which has only
> the
> > > > > id of the session which needs to be cleared (long story short this
> is
> > > > > to overcome some limitation with flash not supporting cookies).
> >
> > > > > I need to delete both the session from datastore and memcache.
> >
> > > > > How can this be done ? (is the name of the entity in _ah_session
> table
> > > > > the id of the session ? )
> > > > > What is the key of the particular session for memcache ? can it be
> > > > > derived from the session id ?
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine for Java" group.
> > > To post to this group, send email to
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-appengine-java%[email protected]>
> <google-appengine-java%[email protected]<google-appengine-java%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine-java?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> > To post to this group, send email to
> [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to