Forum Moderators: open

Message Too Old, No Replies

switching http to https in ASP.Net

how to do SSL in VB.Net

         

tomasz

2:41 pm on Apr 22, 2004 (gmt 0)

10+ Year Member



Hi,

I have a web app. All of my credit card transaction are handled by outside secure site. I want to start to process all transactions on my server.
I am pretty new with https protocol and I need some pointers, like,

how do I switch between http and https?
Will I loose my session?

Any pointers appreciated
thanks

SIRokai

8:14 pm on Apr 23, 2004 (gmt 0)

10+ Year Member



I need the same info...

raywood

2:16 pm on Apr 24, 2004 (gmt 0)

10+ Year Member



I haven't done an ssl site in dotNET yet, but on all my old asp sites the session was never lost when switching. The use of the secure socket was triggered by the https request and handled by the server without any other interaction with the page code or session.

It just parsed the https, decided use a secure socket, encrypted the data, and kept right on running the pages and the session without worrying about anything else.

ray

raywood

2:26 pm on Apr 24, 2004 (gmt 0)

10+ Year Member



Sorry I didn't explain it a little more clearly for you two that say you are new to https. The https request is what does the trick. Everything else stays the same.

You get a security certificate for your server and install it. The pages you want to be secure, you just make sure that all the links to it say https instead of http. So you have, for example, a shopping cart getting filled up all on http pages.

The when it's time to check out and collect personal info, the forms are requested with https in the header. It's always worked for me. I'd appreciate any comment from an expert, though.