Hi,

Here's how it should work: every time the user logs in, SA creates a
> new engine with his log/pass or uses the one that was already opened
> and then uses it.


Unless something has changed recently, this pattern is not particularly
supported.

Still, you could probably get it working with bound sessions. If the engine
doesn't exist in the users, session, create the engine and save in the
session. Don't know why the Pylons session save was failing, perhaps it
doesn't allow arbitrary Python objects. You could keep your own dictionary,
keyed on (username, password) tuples and avoid sessions altogether.

Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to