adodb.recordset object and the IIS session object
- From: Mbtch@.
- Date: Wed, 08 Jun 2005 12:25:14 -0500
I was looking through the registry of a Windows 2000 Adv. Server I
just built and noticed that the adodb.recordset object had been set to
"both" mode threading.
Regardless of all the "no no's" I've heard about storing objects in
session variables , can someone absolutely confirm for me the
adodb.recordset object is now registered as "both" on a new build of
Adv. Server with all the patches. (.net 1.1 is installed also, but
right now I'm using ASP).
I want to store the recordset object in a session, and if it is "both"
by default then my host in Canada will probably have the same
registration of the object, since they are a recognized leader in
hosting for NT platforms.
I believe the issue with using apartment threaded objects in session
is the ability for the IIS thread to get to the object while other
requests are comming into the server, etc... a "reference" to the
object in memory is kept in a table... etc.
Since I can fill a recordset without a connection much the same way I
can fill a dictionary object, it will be great for name value pairs
that need to persist.
So finally, does anyone know if the latest MDAC does in fact register
the adodb.recordset object as "both" and if so, can anyone see a
reason not to use it in sessison?
.
- Prev by Date: Re: display online users using asp
- Next by Date: OWA logon.asp
- Previous by thread: display online users using asp
- Next by thread: OWA logon.asp
- Index(es):
Relevant Pages
|