Sometimes I have a situation that a single comment solves the whole problem. The person who asked the question is thankful for the solution and often says that they will delete their question (because the issue is solved and/or there are no answers on that question).
My question is: is it OK (permissible within the rules of this site) to ask this person that if they want, they can upvote my other answer as a "thank you" for solving his issue.
Is it OK? Or could I end up in trouble for this?