Hello, I'm not sure this is possible but I would to save a oracle connection across several requests (like I do with a normal object)
I would like to: if 'object' in request.session: do stuff else: import cx_Oracle conn = cx_Oracle.connect(constring) request.session['object'] = conn do stuff Since this doesn't work I thought about a global variable on settings.py but that only works on de dev server. Apache uses multiple processes so the global variable has different values depending of the process. Any ideas how to keep a persistent connection across requests? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

