> > > > > On 13/11/2008, Pontus Enmark <[EMAIL PROTECTED]> wrote: > >> > >> So, basically, how do I set a cookie from within the auth script? > > > > I don't believe you can. Unlike mod_python this uses the Apache 2.2 > > authentication backend provider stuff. Even if the new interface still > > lets you get at the output headers that is not exposed by mod_wsgi. > > There is a way of doing it, but not documented and relies on some > special extensions. > > Don't have time to explain right now, but will later. >
Are you referring to using the apache request_rec with ap_swig_py? > > > Have you thought about the problem from another angle? You seem to be > > using headers as a basic cache to save processing - move the cache to > > the auth script instead? If threaded, a simple dict could do. > > I'd also perhaps suggest a lookup cache on server side may be a better > way of doing it if performance is an issue. Yes, I think this may be the way to go. > > More later when have time and have had a think about it. Pity Apache > 2.4 not out yet, as mod_session in that would likely help. > > Graham > Thanks for the input guys! Pontus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
