Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
370 views

I am trying to add the RequireHttps tag to a controller action but when I try to navigate to it I get a page not found error when I try: https://localhost/MVCDemo3_4/Home/Index2 or http://localhost/...
user3739190's user avatar
1 vote
0 answers
883 views

I'm tried using IIS Express. ( change from previous use Local IIS ) . I have redirect problem. For example step 1: go to login page https://localhost/user/index , i got "ERR_CONNECTION_RESET" step ...
PimB's user avatar
  • 65
1 vote
2 answers
496 views

I have some ASP .NET MVC4 website which I have to put first to DEVELOPMENT place to test. And development website doesn't have SSL but the LIVE has it. Well. I have to use [Requirehttps] inside of ...
NoWar's user avatar
  • 37.9k
0 votes
3 answers
10k views

I am using the RequireHttps attribute on most of the actions in my User controller which handles the login and my secure https pages. On my Home Page which is http I have a link to my login page as ...
cw_dev's user avatar
  • 465
0 votes
1 answer
170 views

Im running an MVC3 app within an IIS7.5 instance on a winsvr2008 R2 box. Now if i set RequireHttps either globally or on each class, my url never gets rewritten at all, in fact it changes nothing? Im ...
P0DD3R5's user avatar
  • 346
2 votes
2 answers
360 views

In asp.net mvc 3 I have a site which has an ssl certificate, and runs just fine in https. The only page exposed is the logon page. For whatever reason, it does not load in https. Here is my relevant ...
Travis J's user avatar
  • 82.6k
7 votes
2 answers
8k views

I have an ASP MVC 3 website that has a Feedback form and should require SSL. Now, I have an action called Feedback inside a controller called 'ContactUs' that is responsible for viewing and ...
Yousi's user avatar
  • 1,213
7 votes
3 answers
2k views

Once you place [RequireHttps] on an action and user switches from HTTP to HTTPS, all subsequent links will stay HTTPS... Is there a way to switch back to HTTP ?
zam6ak's user avatar
  • 7,299
9 votes
1 answer
721 views

First deployment to AppHarbor today. After some initial work getting it to build, I successfully deployed an MVC3 app. There is a problem with using the RequireHttpsAttribute though. I noticed at ...
danludwig's user avatar
  • 47.4k
3 votes
1 answer
1k views

I have an ASP.NET MVC 3 application with an action that uses both the RequireHttps and OutputCache attributes: [RequireHttps] [OutputCache(Duration = 14400, VaryByCustom = "CurrentUser"] public ...
Tom Lokhorst's user avatar
  • 13.8k
14 votes
5 answers
30k views

I've read thru many of the questions on ASP.NET MVC [RequireHttps] - but can't find the answer to this question: How do you make the [RequireHttps] attribute switch the url to https if it was not ...
JK.'s user avatar
  • 21.6k
0 votes
1 answer
681 views

I am using RequireHttps attribute to redirect Http to Https. It works fine in my dev machine which has IIS7.5 installed. However, it doesn't work in IIS 6 in Windows Server 2003. Thus, I have got Http ...
huang's user avatar
  • 1
0 votes
1 answer
321 views

I'm using System.Web.MVC v2.0.50727 and can't seem to apply the RequireHttpsAttribute. I can use [OutputCache(...)] for instance, but if I try to use [RequireHttps] I get a missing assembly error. ...
Paul's user avatar
  • 3
0 votes
2 answers
445 views

When trying to apply [RequireHttps] to AccountController.Logon in ASP.NET MVC 2 Preview 2 I get the following error : ASP.NET detected invalid characters in the URL. This is because ASP.NET has ...
Simon_Weaver's user avatar