LuisRivera
12-09-2001, 12:58 PM
I am having a problem using recordset updating in my asp pages, basically i have created a connection to a SQL server db using a include file to store the connection string.
Then a page opens, creates a recordset which filters out one record, this recordset is stored in a Session variable so that i can allow updates in other pages without reopening the db.
I don't close this recordset or the connection (which is simply stored as a conn variable).
I have updated all the pages which used to use sql update functions to use recordset update functions as they all update this one record anyway.
The problem is that although some of my pages work fine others just will not load, they simply keep loading (this is using an internal iis system on 2000 server)
I tried using a variable instead of a session for the recordset and closing the recordset and connection at the end of each page but no dice, i also have found that this problem also occurs on a page which does not contain any association with the recordset just the connection.
I know that these pages worked before as the update recordset was a new feature that i thought would be more effecient.
I created a more minimal version of the connection and recordset for testing purposes and the updating worked fine.
Any information on the ins and outs of recordset problems would be useful.
Then a page opens, creates a recordset which filters out one record, this recordset is stored in a Session variable so that i can allow updates in other pages without reopening the db.
I don't close this recordset or the connection (which is simply stored as a conn variable).
I have updated all the pages which used to use sql update functions to use recordset update functions as they all update this one record anyway.
The problem is that although some of my pages work fine others just will not load, they simply keep loading (this is using an internal iis system on 2000 server)
I tried using a variable instead of a session for the recordset and closing the recordset and connection at the end of each page but no dice, i also have found that this problem also occurs on a page which does not contain any association with the recordset just the connection.
I know that these pages worked before as the update recordset was a new feature that i thought would be more effecient.
I created a more minimal version of the connection and recordset for testing purposes and the updating worked fine.
Any information on the ins and outs of recordset problems would be useful.