# HttpCookie - Okta OIDC ASP.Net Webforms

**URL:** <https://devforum.okta.com/t/httpcookie-okta-oidc-asp-net-webforms/2978>\
**Category:** OAuth/OIDC\
**Tags:** dotnet\
**Created:** [October 2, 2018, 6:40pm UTC](https://devforum.okta.com/t/httpcookie-okta-oidc-asp-net-webforms/2978 "2018-10-02T18:40:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![i21531](https://avatars.discourse-cdn.com/v4/letter/i/48db29/32.png) [@i21531](https://devforum.okta.com/u/i21531)\
**Post date:** [October 2, 2018, 6:40pm UTC](https://devforum.okta.com/t/httpcookie-okta-oidc-asp-net-webforms/2978/1 "2018-10-02T18:40:22Z")

</div>

Hey,

My application is [ASP.Net](http://ASP.Net) Web forms application and I am trying to implement SSO using Okta OIDC. How do I setup the http cookie in the application after successful authentication and how to check whether the cookie is valid for each requests ?  
I could check the http Request.IsAuthenticated property , is that the right way to use it ?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 12, 2024, 11:42pm UTC](https://devforum.okta.com/t/httpcookie-okta-oidc-asp-net-webforms/2978/2 "2024-01-12T23:42:22Z")

</div>

Closed on January 12, 2024, 11:42pm UTC


