My dad was a professor for over 50 years and previous students came by to see him all the time. And now that he’s ill, he really enjoys it when they come see him!
I have to say I don’t think it would be appropriate for a professor to take you out for a drink. I would decline that offer if it were me.