Generic Session get method