Getting Remote Pages with ASP - Clean Up After Yourself!
(Page 4 of 4 )
I admit, this is one of my biggest downfalls. Dirty socks on the floor, empty glasses on the table, and rogue variables left hanging in memory space. Of course, with a script so small, it won't bring your server to its knees, but it's a good habit to get rid of the trash as soon as it becomes such. So try something like this at the end of your script:
Set objShell = Nothing
Set objFile = Nothing
Set objWrite = Nothing
Set objRead = Nothing
Set objFSO = Nothing
Set objXML = Nothing
Conclusion
This was not an in depth discussion of HTTP tunneling; we just made use of it to suit our needs. But if you are the inquisitive type that really needs to know more of what's going on, some recommended reading is HTTP Tunneling Revealed (http://www.devarticles.com/c/a/ASP/HTTP-Tunneling-Revealed-Part-1/).
In case you want to know, I did get that nice dinner. I enjoyed some amazing scallops as an appetizer, a nice venison entree, and one fantastic bottle of wine (between the two of us naturally). My girlfriend had Arctic Char, but wasn't incredibly satisfied with it. I don't remember what we had for dessert, something chocolaty no doubt.
I hope this provides a solution to many a question I've seen posted here and all over the web. I can promise you'll find it handy; I can't promise the venison, however. Sorry.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |