They are not sharing the same db object just by virtue of it having the 
same name in the code. The code of each app is executed independently 
within requests for each app. Please show the code you are using to 
instantiate the DAL object in each app.

Anthony

On Monday, April 16, 2018 at 7:58:03 PM UTC-4, Sergio Romero wrote:
>
> Hi there. 
>
> I have to deal with a duplicate example app on the same rocket server 
> instance. I have modified the sqlite file with each application interact 
> but both of the applicattions has the same db dal object name. 
>
> When I start the server each applications shares the users and have some 
> problems with the foreign keys when I try to insert a row on a table of 
> app1 if the same table exists on app2 
>
> How can I deal with this situation without refactor the db object name of 
> one of the application to isolate both applications and don't share the 
> instantiate db object between them. 
>
> Thanks

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to