Three questions: Is it ok to ask for a reference if you've only seen someone once? Also, what if it's been a few months? Should you only ask people that you've seen in the last couple of months?

I pass along the reference info, but I don't usually know who has/hasn't responded and provided refs and/or said nice things on my behalf but if you're reading this and you have, thank you!