Re: PythonSessionOption - a new apache directive for session configuration

2005-06-13 Thread David Fraser
Hi Nicolas, Jim PythonSessionCreate as suggested is nice for flexibility, but scary for non-coders - I like Jim's multiple options for that reason David Nicolas Lehuen wrote: Hi Jim, Why not have a single 'PythonSessionCreate' option which contains the line of code that should be evaled to

Re: session handling - the next generation

2005-06-13 Thread Jim Gallacher
Nicolas Lehuen wrote: Hi Jim, Have you added the corresponding code in request_tp_clear and request_tp_traverse ? Yes. I think you can check-in your code, since the debate about import looks like it is going to take som time before the next release... Will do. Jim Regards, Nicolas 2005

Re: PythonSessionOption - a new apache directive for session configuration

2005-06-13 Thread Jim Gallacher
David Fraser wrote: Hi Nicolas, Jim PythonSessionCreate as suggested is nice for flexibility, but scary for non-coders - I like Jim's multiple options for that reason I would argue that PythonSessionCreate is less flexible for users and admins. It requires a knowledge of the mod_python packa

A Styling note [was Re: session handling - the next generation]

2005-06-13 Thread Gregory (Grisha) Trubetskoy
On Sun, 12 Jun 2005, Jim Gallacher wrote: PyObject *m;// session module If I'm not mistaken, the // comments are not strictly C-compliant, we should stay away from them. Generally, we should try our best to adhere to this: http://httpd.apache.org/dev/styleguide.html I know mod_p

Re: A Styling note [was Re: session handling - the next generation]

2005-06-13 Thread Jim Gallacher
I shall comply. :) I would have redacted them from the final version anyway. I hate comments on variables - if I need a comment I should just have better variable name in the first place. Regards, Jim Gregory (Grisha) Trubetskoy wrote: On Sun, 12 Jun 2005, Jim Gallacher wrote: PyObje

Re: PythonSessionOption - a new apache directive for session configuration

2005-06-13 Thread Jim Gallacher
i3 Technologies wrote: I hope there will be some nice examples and documentation to go with this new session package/implementation. Yes, there will be. Hopefully session handling will be a little simpler in version 3.2, which may also help. Any opinion on the apache directive to use? Now is

Re: PythonSessionOption - a new apache directive for session configuration

2005-06-13 Thread i3 Technologies
Personally I go along with the PythonSessionOption because its syntax is less session api dependent and more config file friendly. Keep up the good work! On Mon, 2005-06-13 at 19:21 -0400, Jim Gallacher wrote: > i3 Technologies wrote: > > I hope there will be some nice examples and documentation

Re: PythonSessionOption - a new apache directive for session configuration

2005-06-13 Thread i3 Technologies
I hope there will be some nice examples and documentation to go with this new session package/implementation. On Mon, 2005-06-13 at 08:53 -0400, Jim Gallacher wrote: > David Fraser wrote: > > Hi Nicolas, Jim > > > > PythonSessionCreate as suggested is nice for flexibility, but scary for > > non-

[jira] Created: (MODPYTHON-59) Add get_session() method to request object

2005-06-13 Thread Jim Gallacher (JIRA)
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.2.0 Environment: All Rep