#49
added SESSION_LENGTH and DEFAULT_CHARSET to config.php
added rightSess function