title: cookies session and security
body: <p>I have a web app in which after user is logged in, he/she has cookie set for username set by <code>setcookie()</code>.</p>
  
  <p>Please suggest better approach for security.</p>