The big thing to know about cookies is that when you send a cookie to the 
browser, that you have not yet received the same cookie from the browser 
(that happens on the next HTTP request). This affects how you design code 
which uses that cookie. If you have just sent someone a cookie with their 
login credentials, for instance, then you should note -- in the same HTTP 
request -- that the user is logged in, just as if you had received the 
cookie.  
  

Reply via email to