This question is locked. New answers and comments are not allowed.
Hi,
I'm developing a web application using a third party API (Visual Web Gui) and OpenAccess for the Database. The database I'm using is MySQL.
I have a connection for each thread I use. If the website remains open for a period of time (let's say, 30 seconds), and the user does an action that requires a query to the database, I receive the "Attempted to read past of the stream" exception.
After searching on the Internet, I've found that this exception is related to the timeout variables in the MySQL server (concretely, "net_write_timeout" and "net_read_timeout". The problem is that my host provider does not let me change those values.
Is there any other way to solve this exception?
Thank you in advance!
Sandro
I'm developing a web application using a third party API (Visual Web Gui) and OpenAccess for the Database. The database I'm using is MySQL.
I have a connection for each thread I use. If the website remains open for a period of time (let's say, 30 seconds), and the user does an action that requires a query to the database, I receive the "Attempted to read past of the stream" exception.
After searching on the Internet, I've found that this exception is related to the timeout variables in the MySQL server (concretely, "net_write_timeout" and "net_read_timeout". The problem is that my host provider does not let me change those values.
Is there any other way to solve this exception?
Thank you in advance!
Sandro