C/ODBC causing "DOS" when refreshing web browser

Hi, I’m using C/ODBC to connect to Navision Financial via asp and php. The problem is that every time a user refresh thiere broswer a new connection to the database is opened and a new license gets occupied. So, what this leads to is that if one user refreshes his or her’s webbrowser a “Denial of Service” occures. What I mean by “Denial of Service” is tha no one else can access Navision from either the web or from a navision client due to the fact that all licenses is ocupied by the sessions created when the “malicious” user presses refresh a couple of times to much. Does anyone have a solution to this problem? Best regards, Andreas