----- Original Message ----- From: "Beach Computers" <Groups at beachcomp.com> > Hello, > > I need to set the current domain as a variable in ASP. > So for http://www.example.com/test.asp, I would want example.com. > Any idea how to go about doing this? You can use: Request.ServerVariables("HTTP_HOST") More: http://devguru.com/Technologies/asp/quickref/request_servervariables.html HTH, Mich