Libby, your wits should take you further. Your problem is
your choice of databases more than a client variable issue. It is
regularyly stated that ODBC and especially ODBC to a desktop
database (access, paradox, etc.) is not recommended for real
applications. More so, only use Access for low traffic,
departmental applications or not at all. Storing client variables
in access only compounds the bad choice. Client variables stored in
a database means there is a db read at the start of every request
and a write at the end of each request. That alone will over stress
access.
And then you have your explicit database queries on top of
that. With a datasource named "treasury", it seem likely you are
storing application data there too. So you have a multithreaded
application server going to a database that can only handle a
single connection at a time where you are making multiple database
queries for every page request.
Win2k3 was originally distributed
without any desktop ODBC drivers, the msjet, etc. Microsoft
indicated that an application server was not a place where desktop
databases should be used. Unfortunately, MS let up and eventually
put the destop ODBC drivers back in win2k3. But, their thinking is
correct. Desktop db's cannot keep pace with a high speed appserver,
including coldfusion and win2k3.
Path of a JDBC query to MS SQL
server:
CFMX (java) - JDBC SQL server driver - over wire as TDS
request straight to the database server. MSS DBMS engine does all
work on back end.
[Path of a ODBC query to MS Access:
CFMX (java) - JDBC sequellink driver - sequelink server -
sequelink client - windows ODBC - Access driver -msjet manipulates
access file.
I will make the main points in this thread only, since they
are all around these forums. ODBC is very indirect. File based
desktop databases are typically not thread safe, multi-user or just
capable enough for any appserver. Use a real DBMS, in short. Even
mssql developer, desktop or what ever their new low cost database.
Say good bye to Access for any real application's backend.