0

I have SSL Certificate but I don't want whole site to encrypt in SSL but few pages like checkout page & payment pages to be set as secure SSL Page so how could I do this?

My website is develop in .net so what should I change in web.confing & code pages?

Linger
  • 14,942
  • 23
  • 52
  • 79
Bins
  • 322
  • 5
  • 13

1 Answers1

0

There's a decent project by Matt Sollars you can use to navigate between https and http with Web forms. Just drop in the dll and change the web.config with the relevant settings.

Obviously, you'll need to setup the certificate in IIS too!

Joe Ratzer
  • 18,176
  • 3
  • 37
  • 51
  • I'm pretty sure you'll keep them, I didn't have session values when I used it. – Joe Ratzer Jul 06 '12 at 12:54
  • 1
    The problem with going back and forth between HTTP and HTTPS pages is that you can never be sure what's been entered securely and what hasn't (even if you've somehow managed to prevent session cookies to be stolen). As a general rule, once you've switched to HTTPS, destroy the old session and never go back. – Bruno Jul 06 '12 at 15:33
  • @Bruno yes your right we lose our session & cookies. that's why i need the way by which i can switching between http & https safely with retain values. – Bins Jul 07 '12 at 07:20