MMFranklin wrote:
> Jdeline thanks for your response to my post. To
elaborate more on my design
> challenge I am working with here are some of the
specifics. I am connecting to
> a Pervasive SQL 8 backend using the manufacturer
supplied JDBC Type 4 driver.
> My SQL guy has asked that I develop a web-based
front-end in CF using the
> following model.
>
> 1) Web users will be provided individual folders in
which a set of five PSQL
> tables will reside. (These PSQL tables exist as separate
entities and will not
> share data amongst each other)
I agree with everybody who has stated that it would be much
better to
redesign that and store everything in one database.
> 1) During 1st login call the cfide.adminapi and create
the data source
> programmatically as the PSQL tables will already exist
and I will know the name
> of the tables based off client ID.
> 2) During subsequent logins the client?s ID will be
stored as the data source
> name in a session variable which will ensure that
clients only have access to
> the 5 tables assigned to them in there own folders.
That will work. If you want to reduce the number of
datasources you
could remove them again in the onSessionEnd.
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion