response('200 OK',[('Content-type', 'text/xml'),('Content-Length',
size),('Set-Cookie', sid)])On Nov 13, 1:53 pm, Pontus Enmark <[EMAIL PROTECTED]> wrote: > Hi, > I'm porting our mod_python basic auth script to a wsgi-equivalent one. > In our app we use apache's basic auth mechanism to allow users to > access the svn module > on the same server without having to re-log in. > Everything seems to work fine, except that I need to set a cookie in > check_password(), so > the user lookup doesn't have to take place in every request, since > it's fairly expensive (it's > an LDAP lookup on a remote machine). > > So, basically, how do I set a cookie from within the auth script? > > Thanks, > 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 -~----------~----~----~----~------~----~------~--~---
