IIS Sample Code
-
Permanent 301 Redirect with QueryString in IIS
by James Crowley
If anyone's ever tried to move domain, you'll know its a pain. One way to make things a little easier is to provide an automatic 301 redirect from your old domain to your new one - this marks the new destination as a permanent change, and will generally be picked up by search engines. This shows you how to do this redirect with IIS, passing the full path and query strings along too.
-
Url Rewriting with Regex for ASP.NET 2.0
by Xavier Larrea
A new feature in ASP.NET 2.0 is it's built-in url rewriting support. When i looked into this new feature I found that it lacked regular expressions support, which is really the point of an Url Mapper. So, this code demonstrates how to create a Url Rewriting Module with Regex support in ASP.NET.
-
Number of visitors online
by James Crowley
How to get the number of visitors currently online
-
Don't explicitly set the page language in ASP
by ElementK Journals
Why you shouldn't explicitly set the page language in ASP
-
Redirect Web Visitors By Country Using ASP and COM
by tgotchi
There are times when it is useful to redirect a visitor to different default web page based on the visitor's country of origin. One practical usage is to redirect visitor to web page with the language recognized by the visitor. This article shows you how using ASP and ActiveX component this can be done.
-
Developing your first Visual WebGui application
by Guy Peled
An introduction to Visual WebGui through a sample application.
-
Sending binary data with ASP
by Lio
This ASP code shows how to send binary data (such as images) to the client without building a new component.
-
Limit the HTTP request buffer
by ElementK Journals
How to limit the size of the HTTP request buffer
-
To buffer or not to buffer
by ElementK Journals
The pros and cons of buffering pages!
-
Create a messaging server using winsock
by S.S. Ahmed
Send instant messages to your main server (WMS application) using winsock
-
ASP.NET Graphical Page Hit Counter
by Raam Kumar
Generate graphics on the fly to provide a graphical page hit counter, storing the counter in a text file or SQL database.
-
Multiple IIS Virtual Servers on XP Pro
by Steven Cohn
A work around that allows you to have multiple virtual servers on an XP Pro machine.
-
dbHitMe Site traffic logger
by Mike J
dbHit: A simple traffic logger I tossed together in the start of my ASP coding days. It simply collects data from your visitors and stores it in MS Access 97 mdb file.