<body>
<%
toconfirm = request.form("toconfirm")
toremove = request.form("toremove")
if toconfirm = "yes" then
if toremove = "RemoveApplication" then
application.contents.removeall
else
session.contents.removeall
end if
response.write toremove & " : OK"
else
response.write "<form action=removeappl.asp method=post>" & _
"Confirm <input type=checkbox name=toconfirm value=yes><br>" & _
"<input type=submit name=toremove value=RemoveApplication>" & _
"<input type=submit name=toremove value=RemoveSession>" & _
"</form>Click on firm before press button"
end if
%>
</body>
จำนวน : 20 บรรทัด