title: How long does SSL connection between a client and a server persist?
body: <p><br></p>
  
  <p>I've just started learning SSL and boy is it confusing</p>
  
  <p><br></p>
  
  <p>Q1 - How long does SSL connection between a client and server persist? Until client surfs to some other URL or…?</p>
  
  <p><br></p>
  
  <p>Q2</p>
  
  <p>A) Assume a client (browser) establishes a SSL connection with a IIS server.  </p>
  
  <p>Now how does IIS figure out on each postback that it is dealing with same authenticated client/browser and thus that it already has a SSL  connection established with that client?</p>
  
  <p><br></p>
  
  <p>B) Assuming SSL connection isn’t lost if browser surfs to some other URL:</p>
  
  <p>Suppose that  moments after SSL connection is established, client surfs to some other URL, and shortly there after it again requests ( via https ) the original page ( one with which it has SSL connection established).</p>
  
  <p>How will IIS server be able to figure out that current request for a page comes from a client that already has SSL connection established with that page and thus will use already established SSL connection?</p>
  
  <p><br></p>
  
  <p>thanx </p>
  
  <p><br></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p><br></p>
  
  <ul>
  <li>Assuming browser surfs to some other URL and if on returning back to original page the SSL connection is still established, how will browser "remember" the value of symetric encryption key, which the two sides used for communicating?</li>
  </ul>
  
  <p><br></p>
  
  <ul>
  <li>I realize it depends on what browser you use, but with IE and Firefox, I assume when you close a browser, it sends Connection.Close() ( or something to that effect ) to the server and thus SSL connection is immediately closed?</li>
  </ul>
  
  <p><br></p>
  
  <ul>
  <li>But if you browse away to some other URL, then if browsers doesn't  send any notification to the server, wouldn't then SSL connection remain established for quite some time ( even 10 or more minutes ) and thus browser could easily surf back to that page as if nothing happened?!</li>
  </ul>
  
  <p><br></p>
  
  <p>I appreciate it</p>