{"id":70,"date":"2012-05-31T23:37:49","date_gmt":"2012-05-31T14:37:49","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=70"},"modified":"2017-11-30T23:39:09","modified_gmt":"2017-11-30T14:39:09","slug":"post-70","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2012\/05\/31\/post-70\/","title":{"rendered":"ASP.NET(VB)\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3092\u6d88\u3059\u65b9\u6cd5"},"content":{"rendered":"<p>ASP.NET\u3067Session\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u500b\u5225\u306b\u4f5c\u6210\u3057\u305f\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570<br \/>\n\uff08\u4f8b\u3048\u3070Session(&#8220;id&#8221;)\u3068\u304b\uff09\u3092\u524a\u9664\u3057\u305f\u3044\u5834\u9762\u304c\u3042\u308b\u3002<br \/>\nASP.NET\u3067\u4e00\u5ea6\u4f5c\u6210\u3057\u305fSession\u5909\u6570\u3092\u524a\u9664\u3059\u308b\u306b\u306f\u3001Remove\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p>\u25a0\u4f7f\u3044\u65b9<\/p>\n<pre> Session.Remove(\"\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u540d\") <\/pre>\n<p>Remove\u30e1\u30bd\u30c3\u30c9\u306b\u500b\u5225\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u5fc5\u8981\u306e\u306a\u3044\u3082\u306e\u3092\u524a\u9664\u3067\u304d\u308b\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001<\/p>\n<pre> Session(\"\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u540d\") = Nothing<\/pre>\n<p>\u3060\u3068\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u306e\u4e2d\u8eab\u304c\u306a\u304f\u306a\u308b\u3060\u3051\u3067\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u306f\u6b8b\u308a\u7d9a\u3051\u308b\u3002<br \/>\n\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u304c\u3042\u308b\u72b6\u614b\u306e\u5834\u5408\u3001\u30b5\u30fc\u30d0\u5074\u306e\u30ea\u30bd\u30fc\u30b9\u304c\u6d88\u8cbb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u306e\u305f\u3081\u3001<br \/>\n\u4f7f\u308f\u306a\u304f\u306a\u3063\u305f\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u306fRemove\u30e1\u30bd\u30c3\u30c9\u3067\u7834\u68c4\u3059\u308b\u3053\u3068\u304c\u671b\u307e\u3057\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001\u3059\u3079\u3066\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3092\u6d88\u3059\uff08\u7834\u68c4\u3059\u308b\uff09\u306b\u306f\u3001RemoveAll\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p>\u25a0\u4f7f\u3044\u65b9<\/p>\n<pre> Session.RemoveAll()<\/pre>\n<p>\u3053\u308c\u3067\u307e\u3068\u3081\u3066\u7834\u68c4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<br \/>\n\u305f\u3060\u3057\u3001\u81ea\u5206\u304c\u610f\u56f3\u3057\u306a\u3044\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3082\u524a\u9664\u3055\u308c\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u4f7f\u7528\u3059\u308b\u5834\u5408\u306b\u306f<br \/>\n\u4ed6\u3078\u306e\u5f71\u97ff\u304c\u306a\u3044\u304b\u78ba\u8a8d\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>\u25a0\u4f8b\uff09<\/p>\n<pre>\r\n 'Session\u5909\u6570\u3092\u65b0\u3057\u304f\u4f5c\u308b\r\n Session(\"userName\") = \"CharAznable\"\r\n \r\n 'Session\u5909\u6570\u3092\u7834\u68c4\u3059\u308b\r\n Session.Remove(\"userName\")\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ASP.NET\u3067Session\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u500b\u5225\u306b\u4f5c\u6210\u3057\u305f\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570 \uff08\u4f8b\u3048\u3070Session(&#8220;id&#8221;)\u3068\u304b\uff09\u3092\u524a\u9664\u3057\u305f\u3044\u5834\u9762\u304c\u3042\u308b\u3002 ASP.NET\u3067\u4e00\u5ea6\u4f5c\u6210\u3057\u305fSession\u5909\u6570\u3092\u524a\u9664\u3059 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,5],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-vbdotnet","category-tech"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":1,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/70\/revisions\/71"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}