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
.

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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to