added default setting output to cache life setting
Merge pull request #46 from anvk/changedAT

Adding $session_resource_timeout which will be set to config setting. Also renaming $result into $rows. Removing useless if statement.