Yes I customized welcome and then added a new app via the admin interface. I did not directly copy the welcome app, just modified the html etc.
Now I am really confused about how this all works. So when I fire up web2py and create a new app via the admin, should that be my only app then? So I did implement the CAS stuff but now I get an error saying 'DAL' object has no attribute 'auth_user' for the app I have. On Tue, Jun 25, 2013 at 10:53 AM, Anthony <abasta...@gmail.com> wrote: > On Tuesday, June 25, 2013 10:12:32 AM UTC-4, Tom Russell wrote: > >> Well agreed, but I set that up in the welcome app so it would seem like >> that should move over to my other app as well? >> > > Are you saying you customized the welcome app and then used admin to > create a new app? In that case, note that new apps are not created by > directly copying the existing welcome app folder. Instead, they are created > by unpacking the welcome.w2p file in the /web2py root folder. > > Even if you did get an exact copy of your custom welcome app, including > the database with the records in db.auth_user (or a connection to a shared > database), logging into one app would not log you into the other. The > reason is that login status is held in the session, and by default, > sessions are not shared across apps (though they can be shared if desired). > If you want Auth to work across multiple apps, the best option is probably > http://web2py.com/books/**default/chapter/29/09#Central-** > Authentication-Service<http://web2py.com/books/default/chapter/29/09#Central-Authentication-Service> > . > > Anthony > > -- > > --- > 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 web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.