PHP - What data should we include in the session?
<p>This is a beginner question... </p>

<p>In a website, what type of data should or should not be included inside the session?  I understand that I should not include any info that needs to remain secure.  I'm more interested in programming best practice.  For example, it is possible to include into the session some data which would otherwise be sent from page to page as dependency injection.  Wouldn't that correspond to creating a global variable?</p>

<p>Generally speaking, what kind of data has or hasn't its place inside a session table?</p>

<p>Thanks,</p>

<p>JDelage</p>
