Re: Funny problem: I need to extract data from working instance
> On 2017-02-19, at 17:32, Serge Z <[hidden email]> wrote:
> I have a simple py-script with variable sessions inside. This var stores objects different data about current users for internal use.
> Any ideas please?
In a program I once wrote, I printed all active sessions with:
a = cherrypy.serving.session.cache # dict. Mapping from session-id -> tuple(data dict, last time)
for k, v in a.iteritems():
print "%s -> %r" % (k, v)