title: Laravel Cookies on test domain
body: <p>I have a website which is on (<strong>myapp.com</strong>). Now I created a separate (digitalocean) webhosting (<strong>test.myapp.com</strong>) for my testing environment. </p>
  
  <p>The issue is that the saved cookies, used by myapp.com, are also being used for my test.myapp.com.</p>
  
  <h3>How can I make sure my cookies are only being used by one domain? Is it good practice to do so?</h3>
  
  <p>Thank you.</p>