How do I limit my amf sessions to flex over pyamf?
I have set up a pyamf gateway to that serves value objects that originate from a django admin panel, through sqlalchemy to my authenticated flex client. It's working great, however there is a problem. My sessions are persisting and clogging up the server, so after about 20 or so AMF sessions are authenticated, it refuses any more until I restart the server.
You are probably not removing the session after the request has been served.
Check out SQLAlchemy documentation on Session.remove.