Direct to HTTPS Page then back to HTTP

Topics: Developer Forum, Project Management Forum, User Forum
Aug 18, 2010 at 10:07 PM

We have certain pages on the web site that need to be HTTPS because of user information input.  There is no problem writing code to have the page redirect to HTTPS.

But when someone clicks on another link whithin the HTTPS page to another page it stays HTTPS even though it should only be HTTP.

My question is can someone point me the right direction.. I want only a few of the pages HTTPS and all the others HTTP.

Can I make a file of the pages that should be HTTPS and have the code check against the list.  If the page is not on the list it will come in as HTTP. This was one thought of how to do it.  Hopefully someone may have a better solution. I may be over thinking this one.

I  have not found any coding examples yet that address this.

I am using IonicIsapiRewriter-  on a Win 2003 x64 using IIs6

Thanks for your help

Aug 20, 2010 at 11:25 AM
What you're after is pretty typical, and there are code ( configuration) examples covering it in the iirf documentation. I suggest you spend some time reading the manual and running the testdriver.exe program. You should be able to figure it out. One hint: break it into two problems. Redirecting http to https is one problem, and should be done under particular conditions. Redirecting https to http is a different, independent problem and should be handled by a separate set of rules. Good luck.