Session Sample

Text to save:
In case you did not know, the session is a place where PHP stores local data for a user. Users are identified by a cookie (or by rewriting the URL). Sessions last as long as your browser is running. The same session is used
for Drupal and this script, so don't be surprised if you see things in the session that you did not write or see errors stating that the session has already been opened.
These type of samples are not what Drupal was intended for and this is why it does not work smoothly. You may also see a 'notice' message which can be ignored.