Retrieves session cookie name from global environment