[SPT/CWIS] Axis Database Issue
Justin Slauson
jslauson at stat.osu.edu
Tue May 27 12:31:54 CDT 2008
In order to have access to the $User object and methods site-wide
outside of just the CWIS pages (to display login information and
restrict certain parts to certain users) I include the following line
in all my scripts:
include_once('/home/cause/WWW/cwis/include/SPT--Common.php');
However, I get
SQL Statement: SELECT * FROM APSessions WHERE SessionId = '517898140'
SQL Error: Table 'cause.APSessions' doesn't exist
on any page where I open a database connection. It appears that the
Axis engine is trying to use our database (`cause`) instead of the one
for CWIS. This happens even though I close my connection when
finished, and Axis should have it's own link resource anyway.
Am I doing something wrong, or is there a bug in the Axis engine which
assumes there will only be one database connection open and is trying
to use my previous one?
Thanks for any help you can provide,
-Justin Slauson
www.causeweb.org
More information about the SPT-CWIS-Users
mailing list