Session On End problem

Results 1 to 2 of 2

Thread: Session On End problem

  1. #1
    Join Date
    Dec 1969

    Default Session On End problem

    When every session start, I create 1 connection object for each user to connect to the SQL Server.<BR><BR>And I close the each connection object when the session end or session timeout.<BR><BR>And I notice the session end or session timeout was not reliable, this cause me cannot close<BR>the connection object for each session/user and thus increase my IIS memory usage.<BR><BR>I would like to know what is the best way to close the connection object for each session/user?

  2. #2
    nits Guest

    Default RE: Session On End problem

    hi there,<BR><BR> for each connection object to release memory after its use, we write set &#060;connobj&#062; = nothing at the end of ur asp file within delimiters. So that it automatically releases the memory used by it, when session ends, or ur whole file is executed.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts