Closing connections when redirecting
How important is it to close an ADODB connection?
I ask because I am producing a page that collects form data, retrieves a record set, makes various comparisons to data within that set, then, depending on whether there are clashes (particularly dates), enter the new or edited data into the database.
If the date info clashes I intend to response.redirect back to the form page with ?string detailing error or problem. There are three IF statements checking date integrity (actually it's an IF...ELSEIF....ELSEIF...ELSE UPDATE DATA) each of which will redirect.
Is it vital that I close the connection and the record set before I redirect?
Hope this is clear. Thanks
|