AS2005: ADOMD.Net & sessionID problem



Hi,

I'm developping a web interface connected to an AS2005.
I open a connection, store the SessionID of this connection, then do
something.
next call will reuse the same sessionID, but don't found it.
So my code automatically create a new session.

when I close my connection I'm using this:
oConnection.Close(False) --> keep the session active on the server.

So the number of connections on my server growth too quickly.
I'm using a direct access to the server, not an HTTP-XML/A access.

using the profiler, I scan all accesses to the server and I see the
failures:
XML for Analysis parser: The 'A0EC33F8-7906-4B19-AB7E-E25069D8A31D' session
ID cannot be found. Either the session does not exist or it has already
expired.

For the moment I Close and release the session to release my server memory.
(.close(true) instead of .close(false))
But to improve the performance I want to reuse my session.

any idea?

what can I do or test?

thanks.
jerome.


.



Relevant Pages

  • Re: RWW Timing
    ... I understand that you want to monitor when and how ... > to an internal Windows XP or Terminal Server computer. ... SBS creates a connection to the internal client on port 3389 which is ... But it can not tell which one session from the RWW, ...
    (microsoft.public.windows.server.sbs)
  • Re: Remote Desktop Disconnected, protocol error
    ... You can not establish a Remote Desktop session to a computer ... The Terminal Server session creation failed. ... make a connection from the server to itself. ...
    (microsoft.public.windows.terminal_services)
  • RE: OS X RDC client does not support Session Directories (read)
    ... When you make the initial connection (whether you have an existing session ... the server attempting to map sound, ... This must be the "command packet" that is telling the client to ...
    (microsoft.public.windows.terminal_services)
  • Re: OS X RDC client does not support Session Directories (read)
    ... > When you make the initial connection (whether you have an existing session ... > the server attempting to map sound, ... This must be the "command packet" that is telling the client ...
    (microsoft.public.windows.terminal_services)
  • RE: TS disconnects when minimized a couple minutes
    ... Thank you for posting in SBS newsgroup. ... I understand if you minimize the terminal session ... the connection will be disconnected after ... If you have installed ISA Server 2004, the setup process will change the ...
    (microsoft.public.windows.server.sbs)