Okay think I got it working. On Fri, Mar 9, 2012 at 4:01 PM, Bruce Wade <bruce.w...@gmail.com> wrote:
> From a fresh install I created an application signon used the methods for > sharing sessions but getting this error now when I go to the welcome app. > > Traceback (most recent call last): > > File "/home/bruce/Development/web2py/gluon/main.py", line 510, in wsgibase > > session._try_store_in_db(request, response) > > File "/home/bruce/Development/web2py/gluon/globals.py", line 561, in > _try_store_in_db > > record_id = table.insert(**dd) > > File "/home/bruce/Development/web2py/gluon/dal.py", line 6829, in insert > > return self._db._adapter.insert(self,self._listify(fields)) > > File "/home/bruce/Development/web2py/gluon/dal.py", line 928, in insert > > raise e > > ProgrammingError: relation "web2py_session_signon" does not exist > > LINE 1: INSERT INTO web2py_session_signon(client_ip,session_data,loc... > > *I just need a very simple example of the following:* > > *1) One app that will be used to handle logins, permissions, sessions....* > > *2) Another app that uses the first app to signin, and can use the > auth.requires_..... based on the members groups that are in the first apps > database etc...* > > *If someone can give me that little bit of an example I can work from it.* > > > On Fri, Mar 9, 2012 at 3:54 PM, Anthony <abasta...@gmail.com> wrote: > >> On Friday, March 9, 2012 6:43:33 PM UTC-5, pbreit wrote: >>> >>> Might not be a bad idea to have some code available that does sort of a >>> "single-signon" between apps. I doubt I'll get around to it but we'll see. >> >> >> The built-in CAS mechanism does that, no? >> >> >> http://web2py.com/books/default/chapter/29/9#Central-Authentication-Service >> >> > > > > -- > -- > Regards, > Bruce Wade > http://ca.linkedin.com/in/brucelwade > http://www.wadecybertech.com > http://www.warplydesigned.com > http://www.fitnessfriendsfinder.com > -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com