codice:
strsql="SELECT * FROM msgPvt WHERE msgPvt.idAutore="& Request.Querystring("idAutore") & " or msgPvt.idDestinatario="& Request.Querystring("idAutore")
così dovrebbe andare

prendi dalla tabella msgPvt tutti i messaggi che hanno come idAutore quello che gli arriva dalla query OPPURE quelli che hanno come destinatario la stessa persona