When a user logs on, there is a field in the profile that contains the 
designation of the database for the institution associated with that user.


On Monday, May 14, 2012 4:54:54 PM UTC-4, Anthony wrote:
>
> The connection string in the call to DAL() can be determined dynamically 
> based on information in the request, such as an arg or a subdomain. How do 
> you determine which institution a given request is associated with?
>
> Anthony
>
> On Monday, May 14, 2012 3:21:39 PM UTC-4, Craig wrote:
>>
>> I am testing Web2Py for use at my institution. We serve several other 
>> institutions. I have each institution set up in its own database (as in 
>> "use xxx;").
>>
>> How can this be accomplished with the DAL in Web2Py?
>>
>> Thank you.
>>
>>

Reply via email to