title: How does HTTPS work, and does it use cookies?
body: <p>I have a basic understanding that HTTPS creates a secure connection between a user and a server using some sort of unique identifying code. However, if the server sends this code (or whatever it is) to the user, can't that code be intercepted and that renders the entire HTTPS just as vulnerable as HTTP?</p>
  
  <p>I'm a total newbie to this area, and am interested in how it works. The current answers on Stack Overflow don't give me the full answer.</p>