There are many way to do it. You can look up the article in http://www.asptoday.com/articles/20000316.htm. I try that, but it doesn't meet my requirement, and I download a component to help me. More powerful than plain ASP. If you need that, leave me a msg with your email. I will mail it to u.