HttpCookie.Valueで、クッキーの値を取得または設定する。
HttpCookie.Value プロパティ (System.Web) | Microsoft Docs
main.aspxで、
Nameを"second"、Valueを"abcde"とする。
また、Request.Cookiesの一覧表示でValueも表示する。
![ログイン](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220602/20220602114811.png)
ログインすると、
![authdir2のValueも丸見え・・・。長い・・・。](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220602/20220602114921.png)
authdir2のValueも丸見え・・・。長い・・・。
Addを押すと、
![Nameが"second"でValueが"abcde"のクッキーが追加された。](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220602/20220602115044.png)
Nameが"second"でValueが"abcde"のクッキーが追加された。
Sample/aspnet/HttpCookie/Value/src/HttpCookie at master · bg1bgst333/Sample · GitHub