Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Accessing Cookies from Base Controller Constructor (getting at Context)

$
0
0

I have a base controller that I am using to get information out of a cookie, however the Context object is null in the Base Controller constructor and the System.Web.HttpContext.Current is gone in vNext.  How can I get current context to get at cookies in the base controller's constuctor method??


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>