Add session variable support