title: Session and cookies from cross site
body: <p>I have a front end HTML website that posts requests to a WebApp hosting online. These html pages run locally on any machine. Thus, they are making cross site requests.</p>
  
  <p>I am thinking of saving cookies and validating these cookies in each request that is sent to my WebApp. Is that the best way to go?</p>
  
  <p>Also, when the user goes back and forth from 1 page to another, (and it is required that he is logged in), do i send a request with cookie from the HTML at the start of the page and redirect him to login page accordingly if his cookie is not valid?</p>
  
  <p>Thanks in advance,</p>