Oracle Enterprise Manager Console Sessions
I do apologize if this is posted in the incorrect location. I have Oracle Enterprise Manager Console open and i'm within instances\Sessions. When I first log in there are 9 total active sessions. 1 is mine with program java.exe which is OEMC. I have a website that calls a stored procedure. It will return either a string or nothing depending on if there is a row in the table. That is the only call that is being made. This executes on page load. As soon as I go to this page and it loads I check OEMC again and now I have 5 new INACTIVE sessions with program w3wp.exe. Why is there 5 when i'm only making 1 call to the database?
Here is the c# code i'm using on my master page. The page that is calling the master page only has text there is nothing in the code behind for that page.
OracleParameter pMsg;
OracleConnection conn = new OracleConnection(ConfigurationManager.ConnectionStrings["strDB"].ConnectionString);
OracleCommand command = new OracleCommand("GetMsg", conn);
command.CommandType=CommandType.StoredProcedure;
pMsg = command.Parameters.Add("PMSG", OracleDbType.Varchar2, 4000);
pMsg.Direction = ParameterDirection.Output;
conn.Open();
command.ExecuteNonQuery();
string sMsg = Convert.ToString(pMsg.Value);
if (sMsg.Length > 1)
{
litMsg.Text = "** " + sMsg + " **";
}
conn.Close();
conn.Dispose();
command.Dispose();
Thank you for any help