I’m having a problem when trying to access HttpRequest inside a razor view. I’m doing the following:
var httpRequest = Request.OriginalRequest as System.Web.HttpRequest;
Am I missing something?
it should be HttpRequestBase
Thanks, it worked.
Sorry for the trouble… I thought I had tested that but it seems that i’ve missed it.