CLOSEQ.ASP
<%@ LANGUAGE="VBSCRIPT" %> 
 
<HTML> 
<HEAD> 
<META NAME="GENERATOR" Content="Microsoft Visual InterDev 1.0"> 
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1"> 
<TITLE>MSMQ ASP Sample Close Queue Page</TITLE> 
</HEAD> 
<BODY> 
<H1>MSMQ ASP Sample Close Queue Page</H1> 
<H2>Closing open queue</H2> 
<% Set qs=Session ( "SendQueue" ) 
Set qr=Session ( "RecvQueue" ) 
qs.Close 
qr.Close 
Set Session ( "SendQueue" )=Nothing 
Set Session ( "RecvQueue" )=Nothing 
%> 
<A HREF="Default.asp">[Home]</A> 
</BODY> 
</HTML>