Hey everyone,  

Question / potential bug(s):

I created the following to reproduce:

https://bitbucket.org/MarkGraves/web2py_cas

Basically, when I run that setup.sh, it sets up two apps and installs redis 
in virtual environments, copies in web2py, and replaces db.py with the one 
in the main repo.

Its the only file that has changed from a default web2py setup.

The odd thing is that when I run these apps, the consumer app sets 
response.session_file to None, and has a response.session_filename

The file does not exist after a single request.  It may at some point 
during the request (easy enough to check).

It does not appear to have the same effect on the cas_provider app, at 
least via the output (neither is a key in response object)

I think this is around 883 but not sure, in 
https://github.com/web2py/web2py/blob/master/gluon/globals.py

There are distinctly two times that response.session_filename gets called 
in that file only for the consumer app. I figured that out by logging to 
console around every call.

I don't know if thats intentional, or a bug.

The second part however, may be related to setup.

I can logout from the session via the provider app, but attempting to 
logout via the consumer app gives me a foreign key error. didnt have time 
to jump into the generation of logout url.

Thoughts?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to