<body>
<a href=addapplication.asp>addapplication.asp</a>
<a href=addsession.asp>addsession.asp</a>
<a href=removeappl.asp>removeappl.asp</a>
<hr>
<%
application.lock
application("cnta") = application("cnta") + 1
application.unlock
session("cnts") = session("cnts") + 1
%>
<table><td>
Application(cnta) = <% response.write(application("cnta")) %><br>
Session(cnts) = <% response.write(session("cnts")) %><br>
SessionID = <% response.write(session.sessionid) %>
</td><td>
<form action=addsubj.asp method=post>
<input name=uname><input type=submit value=add><br>
<textarea name=subj rows=3 cols=50></textarea>
</form>
</td></table>
Current name = <% response.write(application("uname")) %><br>
<ol><% response.write(application("subj")) %></ol>
</body>
จำนวน : 24 บรรทัด