Hey James,

2009/6/8 jamess <[email protected]>:
> I'm currently planning to roll my own authentication/authorization
> system, as none of the existing ones really suit what I need. The
> current plan is to just store a user id of some description in
> Beaker's session object. I've just noticed, however, that both Repoze
> and Authkit store an identification as an environment variable. Why
> have they done this? Is it preferable to store this data in
> request.environ as apposed to in the session?

(I hate seeing other people doing this, and now I'm doing it myself!)

I unfortunately don't have an answer for you (when I wrote my auth
system, I just stored a user id in the session), but if you're willing
and able, would you share your code with us once you're done? I'd be
interested to see what you've done...

-- 
Raoul Snyman
B.Tech Information Technology (Software Engineering)
E-Mail:   [email protected]
Web:      http://www.saturnlaboratories.co.za/
Blog:      http://blog.saturnlaboratories.co.za/
Mobile:   082 550 3754
Registered Linux User #333298 (http://counter.li.org)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to