Hi,
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?
Thanks.
it should be HttpRequestBase
Ricardo Brandão:
Thanks, it worked.
Sorry for the trouble… I thought I had tested that but it seems that i’ve missed it.