Classic ASP
Classic ASP
Example: Http.GetDomain method
Demonstrates theGetDomain method.
Chilkat Classic ASP Downloads
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
set http = Server.CreateObject("Chilkat.Http")
domain = http.GetDomain("https://chilkatsoft.com/refdoc/csharp.asp")
Response.Write "<pre>" & Server.HTMLEncode( domain) & "</pre>"
' Output: chilkatsoft.com
%>
</body>
</html>