I'm sure that the following is possible, I just need a little help
please.
I have a object which I declare as a application object "gObj".
I need to use "gObj" with all sessions. I need "gObj" to have access
based on the user's id. Is this possible without creating multiple
gObj's?
Code would be something like:
Application_OnStart
set gobj = Server.Create( "someDll" )
gobj.uname = "somename"
gobj.port = 1234
gobj.pwd = "pwd"
End
ASP page code:
<%
gobj.connect
' do stuff.
%>
So, what I want to do is:
<%
gobj.SelectUser( "userName" )
'do stuff
%>
Without this causing problems with "userName2"
<%
'called at the same time
gobj.SelectUser( "userName2" )
%>
Tough One Eh?
Likely not possible?
Thanks Gurus.
Alex.