session path handling in creation from string