On 01/12/2012 05:37 PM, Rob Crittenden wrote:
John Dennis wrote:
This patch adds the ipalib/session.py file which implements a cookie
based session cache using memcached.

It also invokes the session cookie support when a HTTP request is
received and stores the session data in the per-thread context object.


It might be handy to have a way to get the cache stats and potentially
drop a given entry. Something to think about for the future.

It's trival to get the cache stats on the server:

import ipalib.session
print session_mgr.get_server_statistics()

Or do you mean get the stats as an ipa command?

The next patch which will follow in a little bit does include a method to delete a cache entry, that's used when a ticket expires.

John Dennis <jden...@redhat.com>

Looking to carve out IT costs?

Freeipa-devel mailing list

Reply via email to