{"id":765,"date":"2011-11-18T00:04:04","date_gmt":"2011-11-17T16:04:04","guid":{"rendered":""},"modified":"2014-03-11T22:40:01","modified_gmt":"2014-03-11T14:40:01","slug":"%e4%bb%8b%e7%bb%8dasp%e4%b8%ad%e4%bd%bf%e7%94%a8%e5%8f%98%e9%87%8f%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2011\/11\/18\/765.htm","title":{"rendered":"\u4ecb\u7ecdASP\u4e2d\u4f7f\u7528\u53d8\u91cf\u7684\u65b9\u6cd5"},"content":{"rendered":"<p>\u53d8\u91cf\u7528\u4e8e\u5b58\u50a8\u4fe1\u606f\u3002<\/p>\n<p>\u5047\u5982\u5728\u5b50\u7a0b\u5e8f\u4e4b\u5916\u58f0\u660e\u53d8\u91cf\uff0c\u90a3\u4e48\u8fd9\u4e2a\u53d8\u91cf\u53ef\u88abASP\u6587\u4ef6\u4e2d\u7684\u4efb\u4f55\u811a\u672c\u6539\u53d8\u3002\u5047\u5982\u5728\u5b50\u7a0b\u5e8f\u4e2d\u58f0\u660e\u53d8\u91cf\uff0c\u90a3\u4e48\u5f53\u5b50\u7a0b\u5e8f\u6bcf\u6b21\u6267\u884c\u65f6\uff0c\u5b83\u624d\u4f1a\u88ab\u521b\u5efa\u548c\u64a4\u9500<\/p>\n<p>\u5b9e\u4f8b\uff1a<br \/>\n\u58f0\u660e\u53d8\u91cf <br \/>\n\u53d8\u91cf\u7528\u4e8e\u5b58\u50a8\u4fe1\u606f\u3002\u672c\u4f8b\u6f14\u793a\u5982\u4f55\u58f0\u660e\u53d8\u91cf\uff0c\u4e3a\u53d8\u91cf\u8d4b\u503c\uff0c\u5e76\u5728\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u8fd9\u4e2a\u53d8\u91cf <br \/>\n&lt;html&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;%<br \/>\ndim name<br \/>\nname=&quot;Donald Duck&quot;<br \/>\nresponse.write(&quot;My name is: &quot; &amp; name)<br \/>\n%&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n<p>\u58f0\u660e\u6570\u7ec4 <br \/>\n\u6570\u7ec4\u7528\u4e8e\u5b58\u50a8\u4e00\u7cfb\u5217\u76f8\u5173\u7684\u6570\u636e\u9879\u76ee\u3002\u672c\u4f8b\u6f14\u793a\u5982\u4f55\u58f0\u660e\u4e00\u4e2a\u5b58\u50a8\u540d\u5b57\u7684\u6570\u7ec4\u3002 <br \/>\n&lt;html&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;%<br \/>\nDim famname(5),i<br \/>\nfamname(0) = &quot;Jan Egil&quot;<br \/>\nfamname(1) = &quot;Tove&quot;<br \/>\nfamname(2) = &quot;Hege&quot;<br \/>\nfamname(3) = &quot;Stale&quot;<br \/>\nfamname(4) = &quot;Kai Jim&quot;<br \/>\nfamname(5) = &quot;Borge&quot;<br \/>\nFor i = 0 to 5<br \/>\nresponse.write(famname(i) &amp; &quot;&lt;br \/&gt;&quot;)<br \/>\nNext<br \/>\n%&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<br \/>\n\u5faa\u73af\u751f\u6210HTML\u6807\u9898 <br \/>\n\u5982\u4f55\u5faa\u73af\u751f\u62106\u4e2a\u4e0d\u540c\u7684HTML\u6807\u9898\u3002 <br \/>\n&lt;html&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;%<br \/>\ndim i <br \/>\nfor i=1 to 6<br \/>\nresponse.write(&quot;&lt;h&quot; &amp; i &amp; &quot;&gt;Header &quot; &amp; i &amp; &quot;&lt;\/h&quot; &amp; i &amp; &quot;&gt;&quot;)<br \/>\nnext<br \/>\n%&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<br \/>\n\u4f7f\u7528Vbscript\u5236\u4f5c\u57fa\u4e8e\u65f6\u95f4\u7684\u95ee\u5019\u8bed <br \/>\n\u672c\u4f8b\u5c06\u6839\u636e\u670d\u52a1\u5668\u65f6\u95f4\u5411\u7528\u6237\u663e\u793a\u4e0d\u540c\u7684\u6d88\u606f\u3002 <br \/>\n&lt;html&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;%<br \/>\ndim h<br \/>\nh=hour(now())<br \/>\nresponse.write(&quot;&lt;p&gt;&quot; &amp; now())<br \/>\nresponse.write(&quot; (Norwegian Time) &lt;\/p&gt;&quot;)<br \/>\nIf h&lt;12 then<br \/>\nresponse.write(&quot;Good Morning!&quot;)<br \/>\nelse<br \/>\nresponse.write(&quot;Good day!&quot;)<br \/>\nend if<br \/>\n%&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n<p>\u4f7f\u7528JavaScript\u5236\u4f5c\u57fa\u4e8e\u65f6\u95f4\u7684\u95ee\u5019\u8bed <br \/>\n\u672c\u4f8b\u540c\u4e0a\uff0c\u53ea\u662f\u8bed\u6cd5\u4e0d\u540c\u800c\u5df2\u3002 <br \/>\n&lt;%@ language=&quot;javascript&quot; %&gt;<br \/>\n&lt;html&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;%<br \/>\nvar d=new Date()<br \/>\nvar h=d.getHours()<\/p>\n<p>Response.Write(&quot;&lt;p&gt;&quot;)<br \/>\nResponse.Write(d + &quot; (Norwegian Time)&quot;)<br \/>\nResponse.Write(&quot;&lt;\/p&gt;&quot;)<br \/>\nif (h&lt;12)<br \/>\n{<br \/>\nResponse.Write(&quot;Good Morning!&quot;)<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nResponse.Write(&quot;Good day!&quot;)<br \/>\n}<br \/>\n%&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;\u53d8\u91cf\u7684\u751f\u5b58\u671f<br \/>\n\u5728\u5b50\u7a0b\u5e8f\u5916\u58f0\u660e\u7684\u4fbf\u5229\u53ef\u88abASP\u6587\u4ef6\u4e2d\u7684\u4efb\u4f55\u811a\u672c\u8bbf\u95ee\u548c\u4fee\u6539\u3002<\/p>\n<p>\u5728\u5b50\u7a0b\u5e8f\u4e2d\u58f0\u660e\u7684\u53d8\u91cf\u53ea\u6709\u5f53\u5b50\u7a0b\u5e8f\u6bcf\u6b21\u6267\u884c\u65f6\u624d\u4f1a\u88ab\u521b\u5efa\u548c\u64a4\u9500\u3002\u5b50\u7a0b\u5e8f\u5916\u7684\u811a\u672c\u65e0\u6cd5\u8bbf\u95ee\u548c\u4fee\u6539\u8be5\u53d8\u91cf\u3002<\/p>\n<p>\u5982\u9700\u58f0\u660e\u7528\u4e8e\u8d85\u8fc7\u4e00\u4e2aASP\u6587\u4ef6\u4f7f\u7528\u7684\u53d8\u91cf\uff0c\u8bf7\u5c06\u53d8\u91cf\u58f0\u660e\u4e3asession\u53d8\u91cf\u6216\u8005application\u53d8\u91cf\u3002<\/p>\n<p>Session\u53d8\u91cf<br \/>\nSession\u53d8\u91cf\u53d8\u91cf\u7528\u4e8e\u5b58\u50a8\u5355\u4e00\u7528\u6237\u7684\u4fe1\u606f\uff0c\u5e76\u4e14\u5bf9\u4e00\u4e2aapplication\u4e2d\u7684\u6240\u6709\u9875\u9762\u5747\u6709\u6548\u3002\u5b58\u50a8\u4e8esession\u4e2d\u7684\u5178\u578b\u6570\u636e\u662f\u540d\u79f0\u3001id\u6216\u53c2\u6570\u3002<\/p>\n<p>Application\u53d8\u91cf<br \/>\nApplication\u53d8\u91cf\u540c\u6837\u5bf9\u4e00\u4e2aapplication\u4e2d\u7684\u6240\u6709\u9875\u9762\u5747\u6709\u6548\u3002Application\u53d8\u91cf\u7528\u4e8e\u5b58\u50a8\u4e00\u4e2a\u7279\u5b9a\u7684application\u4e2d\u6240\u6709\u7528\u6237\u7684\u4fe1\u606f\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53d8\u91cf\u7528\u4e8e\u5b58\u50a8\u4fe1\u606f\u3002 \u5047\u5982\u5728\u5b50\u7a0b\u5e8f\u4e4b\u5916\u58f0\u660e\u53d8\u91cf\uff0c\u90a3\u4e48\u8fd9\u4e2a\u53d8\u91cf\u53ef\u88abASP\u6587\u4ef6\u4e2d\u7684\u4efb\u4f55\u811a\u672c\u6539\u53d8\u3002\u5047\u5982\u5728\u5b50\u7a0b\u5e8f\u4e2d\u58f0\u660e\u53d8\u91cf\uff0c\u90a3\u4e48\u5f53\u5b50\u7a0b\u5e8f\u6bcf\u6b21\u6267\u884c\u65f6\uff0c\u5b83\u624d\u4f1a\u88ab\u521b\u5efa\u548c\u64a4\u9500 \u5b9e\u4f8b\uff1a \u58f0\u660e\u53d8\u91cf \u53d8\u91cf\u7528\u4e8e\u5b58\u50a8\u4fe1\u606f\u3002\u672c\u4f8b\u6f14\u793a\u5982\u4f55\u58f0\u660e\u53d8\u91cf\uff0c\u4e3a\u53d8\u91cf\u8d4b\u503c\uff0c\u5e76\u5728\u7a0b\u5e8f\u4e2d\u4f7f&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-765","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=765"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/765\/revisions"}],"predecessor-version":[{"id":66596,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/765\/revisions\/66596"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=765"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=765"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}