| Graham Dumpleton (JIRA) 2005-08-09, 7:46 am |
| [ http://issues.apache.org/jira/brows...HON-59?page=all ]
Graham Dumpleton updated MODPYTHON-59:
--------------------------------------
Attachment: Session.py.diff.txt
For posterity, attaching patch for an alternate way of dealing with this problem of locked Session objects and req.internal_redirect(). This actually avoids any changes to the request object itself, with all code changes in Session code. This was presente
d on developers mailing list. See:
http://www.mail-archive.com/python-...g/msg00254.html
Experimentation with this idea still needed.
> Add get_session() method to request object
> ------------------------------------------
>
> Key: MODPYTHON-59
> URL: http://issues.apache.org/jira/browse/MODPYTHON-59
> Project: mod_python
> Type: New Feature
> Components: core
> Versions: 3.3.0
> Environment: All
> Reporter: Jim Gallacher
> Attachments: Session.py.diff.txt
>
> Users will get session instances by calling req.get_session(). If a session already exists it will be returned, otherwise a new session instance will be created. Session configuration will be handled using apache directives rather than within their code
|