Zamphatta
Zamphatta

Reputation: 4724

CherryPy Session Authentication?

I'm able to set session var's & get them too. BUT, the documentation for cherrypy.lib.cptools.SessionAuth is too cryptic for me to get anything out of it. I tried some things in code, but it either resulted in errors or blank pages. The tutorial on the site doesn't get into session auth. I did find an old tutorial about making a blog in CherryPy 2.x, but that seems a bit outdated to work with CherryPy 3.2.2. Can anyone point me to a real tutorial for this or give a code example so I can see how to make it work? I really don't know where else to look or ask, and this is gettin' frustrating.

Upvotes: 1

Views: 5871

Answers (1)

Andrew Kloos
Andrew Kloos

Reputation: 4578

I use this version of authentication. Works well for me...

https://github.com/cherrypy/tools/blob/master/AuthenticationAndAccessRestrictions

Upvotes: 3

Related Questions