Hi all. I'm using Myghty's sessions for my webapp. I'm converting this project over from a hack-and-glue project that used mod_python + cheetah.
One of the things I did in the old project, was manual session handling. I essentially pickled a dictionary into a session table. One of the nice things about this technique was that I could "select count(*) from session" to see how many users were logged onto the web site. However, I'm not sure how to count the number of active sessions using myghty and pylons. I dug through the manual a bit and discovered that my sessions are stored as files. But I'm still at a loss as to how to access these files. How do I count the number of active sessions? I also discovered that I am responsible for manually cleaning up these files. Has someone already written a python script to do this? Thanks! jw --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss -~----------~----~----~----~------~----~------~--~---
