
December 22nd, 2003, 06:30 PM
|
|
Moderator
|
|
Join Date: Jun 2002
Location: Raleigh, NC
|
|
|
I'm not sure how to set up a DSN-less connection (never needed to), but I've always felt that the security risks of doing this were unacceptable, as is the fact that I'm pretty sure the connection is not maintained so there will be performance issues as well.
Not sure what DB you are using...is it Access? Regardless, I believe all you need to do to release the connection is to send an invalid SQL statement that causes an error...something like
SELECT * from aTableThatsNotThere
should give an error and release the connection.
Hope that helps.
|