Question

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.

Was it helpful?

Solution

You are probably not removing the session after the request has been served.

Check out SQLAlchemy documentation on Session.remove.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top