Added session configuration option.
Merge pull request #8 from dubshop/master

Added session configuration option.