Monday, September 10. 2007flup 1.0 releasedTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
It's still there in flup 0.5. I also made sure 0.5 was still available at the Cheese Shop (and my download directory). But I really don't want to support it anymore.
I strongly recommend migrating away from flup sessions. Perhaps to Beaker: http://beaker.groovie.org/ The usage is the same (but rather than the key "com.saddi.service.session", you use "beaker.session"). And you have to make sure you call session.save() whenever you modify the session.
I am using django + flup.fcgi + lighttpd.
How to use AJP as you recommended?
Interesting. Care to explain why you hate FastCGI? It seems to work fine for me.
Beaker didn't work for me in conjunction with ajp-wsgi. I got the same session-id for different browsers. Can you give me an example for Beaker Session in conjunction with ajp-wsgi.
I'have documented my experiences at http://www.xhostplus.at/static/webpy-ajp-wsgi.html.
I use Beaker and ajp-wsgi pretty extensively and I haven't run into any problems like you've described. The frameworks I use with the two are Pylons, Flannel, or sometimes no framework at all (e.g. an authentication middleware component that just requires sessions).
The issue could be with web.py or with mod_jk, as these are the 2 major differences between our configurations. (I use Apache 2.2's mod_proxy_ajp.) Though I don't see how mod_jk could really affect this. Have you tried web.py + Beaker on another WSGI server? I'm a bit suspicious about the way session.save() is being called in web.py. And like you mentioned, the non-web.py example worked fine.
Thank's for the response. I did upgrade from Beaker-0.5 to Beaker-0.9.1 and now it works. Thank's again for helping me.
|
Calendar
QuicksearchArchivesCategoriesBlog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||