Allow older php versions to handle sessions