devxlogo

Tip Bank

Beware of the Dictionary object in ASP pages

The Scripting.Dictionary object is marked as having a “Both” threading model, which means that you can freely assign it to a Session or an Application variable. However, the actual threading

Tricks with Server.MapPath

The Server.MapPath method can be used to retrieve several interesting properties about the running ASP application, for example: ‘ the current directorycurrDir = Server.MapPath(“.”)’ the parent directoryparentDir = Server.MapPath(“..”)’ the

Response.Buffer and Response.Flush

In order to redirect a web page after you have written to it, you must use a Response.Buffer = true at the top of the page.You may redirect the page

Unload Forms

This will unload all forms in memory before the calling form is unloaded. Not only does this unload each form, it also fires each form’s unload event, allowing for a