-> I am having a bit of trouble understanding how sessions remain
-> persistent with Quixote. I want users to be able to login and see pages
-> that are restricted to that particular user. So far, the _q_lookup
-> seems to working fine.
->
-> I am aware that I must use SessionManager and SessionPublisher, as well
-> as _q_access; however, I am just a bit confused about how the pieces fit
-> together in order for sessions to remain persistent.
->
-> Does anyone have a concrete example of how this works, or how these
-> pieces fit together? By the way, I am using mod_python and I would like
-> to eventually tie in the session tracking with a PostgreSQL database.
Here's a simple example I whipped up for exactly your situation:
http://www.quixote.ca/qx/
under "example code", "storing sessions in an SQL database".
I use this code in two production servers.
Comments welcome & appreciated!
cheers,
--titus