Code

Working With Cookies in ASP

September 26, 2005 - 5:41pm — Brandon

Cookies are small text files that are stored on users' machines after they visit your website. When they go back to a website, the cookie information is sent along also, and can therefore be retrieved by the site that set them. Cookies are a great way to store non-essential user information.

Tags: Code, asp, cookies

Using Server.MapPath() in ASP

September 25, 2005 - 10:14am — Brandon

When configuring ASP scripts or writing new ones, it's often necessary to find the physical path to some file or database on your server. This is especially true if you're ever using the FileSystemObject (FSO). Unfortunately, unlike friendly virtual paths (i.e. /database/users.mdb), physical paths are often hard to remember (i.e. C:\websites\12.34.567.890\domain.com\database\users.mdb). Luckily, there's a really simple way to find the physical path to a file, as long as you know the virtual path. To do this, we take advantage of the Server.MapPath() function.

Tags: Code, asp, code

Listing Server Variables in ASP

September 24, 2005 - 6:24pm — Brandon

The set of server variables contains information like paths, cookie settings, CGI version, and much more. Here I'll explain how to list your server variables.

Syndicate content