Why does Request.IsSecureConnection return false when true is expected
I have an aspx page which is checking Request.IsSecureConnection to ensure it is true, if not it does a redirect to the the secure page at https://www.domain.com/page.aspx.
I have an aspx page which is checking Request.IsSecureConnection to ensure it is true, if not it does a redirect to the the secure page at https://www.domain.com/page.aspx.
I have to build a small webapp for a company to maintain their business data… Only those within the company will be using it, but we are planning to host it in public domain, so that the employees can connect to app from various locations. (Till now I have built web apps that are hosted internally only)
I am using MVC3 and am trying to serve content from https, the problem is that when I call Url.Content the files are still served from http using a relative url. I thought this problem was addressed in MVC3 but i can’t seem to find any solution. Does anybody know if this issue is inherently solved in MVC3 and how to accomplish it or do I need to create my own helper methods to generate absolute Urls based on protocol?
Like the question says, if I have a request for a page on my site like this
I am having an issue with IIS express or Visual Studio 2013.
I have an asp.net application working in https (SSL). This is working well in my local computer and Amazon AWS(production environment).
Protocol-relative URLs aren’t what I’m looking for. I’m looking for a way of absolutely specifying a protocol (http vs https) while keeping the host name of the url relative.
I would like to use web.config to redirect all requests on my asp.net site to https:// with non-www. That is:
I am sending httpwebrequests to the paypal api server and this uses https. I did the normal things that you normally do with http requests, and it worked. Do I need to do anything special to properly use https, or is specifying https in the request URL enaugh to make it work?
We use the URLReferrer and a code passed in on the query string to produce online videos so that only our paid clients can link to our video playback page. This system has worked well for some time. I know the URL referrer can be spoofed, but who would tell their clients to do such a thing to access a video ? It’s worked well for us.