ramkrishanbhatt / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

Implement support for Apache 2.3 mod_session module. #185

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Implement ability for Python code to be used as provider in relation to 
features of mod_session. 
Also look at what other integration possibilities exist.

Original issue reported on code.google.com by Graham.Dumpleton@gmail.com on 4 Mar 2010 at 11:28

GoogleCodeExporter commented 8 years ago
The mod_session module provides four hooks which would be of interest.

The first two are:

  session_load
  session_save

Providing ability to supply these callbacks as Python code would allow session 
database to be implemented via a 
Python interface.

The second two are:

  session_encode
  session_decode

Providing ability to supply these callbacks as Python code would allow session 
information to be encoded in form 
other that as url-encoded-form. This could be used independent of whether 
Python used to manage the session 
database. For example, could use base64 encoded pickle with it being stored as 
cookie using 
mod_session_cookie. Obviously would have to be careful about decoding arbitrary 
pickle data because of 
security issues that would raise.

Original comment by Graham.Dumpleton@gmail.com on 10 Mar 2010 at 10:30

GoogleCodeExporter commented 8 years ago
This is finally being dealt with in:

https://github.com/GrahamDumpleton/mod_wsgi/pull/41

Original comment by Graham.Dumpleton@gmail.com on 12 Nov 2014 at 10:56