Cookie(クッキー)
ファイル名は cookie:[ユーザー名]@localhost/
その他7つのcookieを確認
リスト6-40
Function Cookie() As ActionResult
If Not IsNothing(Request.Cookies("email")) Then
ViewBag.Email = Request.Cookies("email").Value
End If
Return View()
End Function
<HttpPost>
Function Cookie(ByVal email As String) As ActionResult
Response.AppendCookie(New HttpCookie("email") With {.Value = email,
.Expires = DateTime.Now.AddDays(7),
.HttpOnly = True})
Return RedirectToAction("Cookie")
End Function
参照
//Internet Explorer 9 / 10 / 11お気に入り、フィード、Cookie の保存方法
http://mbsupport.dip.jp/mb/ie9_18.htm
//IE11/IE10で新たに加わった「WebCacheフォルダ」を削除すべき状況と削除方法
http://freesoft.tvbok.com/web/ie/ie11ie10webcache.html
ファイル名に制御文字が使われている //????
保存場所INetCacheは「隠しファイル」をOnにしてもエクスプローラーで確認できない //????
→コマンドプロンプトでも確認できない //????