I use the MVC 4 Web API and an anonymous authentication module to identify anonymous users for the shopping cart in my application. This is the value I added to the web.config file:
<anonymousIdentification enabled="true" />
I can access Request.AnonymousIDin the usual Controller, but not in ApiController. How can I access it?
source
share