I tried deleting all the memcache by calling cache.clear(); but it didn't work. I also noticed the solution posted here http://groups.google.com/group/google-appengine-java/browse_thread/thread/4f0d9af1c633d39a/but apparently only works with expired sessions. What I want to do is make all active sessions expire. Is it possible?
Thanks, Esteban On Fri, Apr 16, 2010 at 3:05 PM, John Patterson <[email protected]>wrote: > Sessions are also stored in memcache so you would also need to clear that. > > BTW, I catch all exceptions thrown from my cache and simply return null. > After all, the cache is not intended to be a permanent store so your code > needs to handle this case anyway. > > On 16 Apr 2010, at 23:38, Esteban Ignacio Masoero wrote: > > Thomas, thanks for the response. I tried deleting all entries for > _ah_SESSION, but it didn't work. Can anyone from Google clarify whether this > should or shouldn't work? > I'll try what you said about the web.xml, if it's possible it should be > much better. > > Thanks, > > Esteban > > On Thu, Apr 15, 2010 at 9:38 PM, Thomas <[email protected]> wrote: > >> On 4月16日, 上午3時36分, Esteban Ignacio Masoero <[email protected]> >> wrote: >> > - Is there a way I can programatically (or from the admin console would >> be >> > best) make all session cookies expire? >> >> You can remove all entries (each represents a user session) in th >> _ah_SESSION kind with Datastore Viewer of Admin console. >> >> > - Would it be possible to make this exception "cacheable" by the app, so >> we >> > can at least show some proper message? >> >> Try to setup error page for java.io.InvalidClassException in >> web.xml. I am not sure if it works but it's worthy to try. >> >> -- >> 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. > > > -- > 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.
