I cannot confirm anything without examination but it sounds like solar urticaria. It is the development of hives minutes after exposure to the sun, which resolve in less than 1 hour.
Apply a good sunscreen with minimum spf 30 atleast half an hour before going out in the sun and wear long sleeved clothes. You can take non-sedating antihistamines such as Cetirizine or Loratadine(Claritin) when the rash appears. Short courses of oral cortisone or steroids are taken for short periods (one to three days) to settle more severe symptoms. You may take Vitamin C along with the prescribed treatment. Vitamin C is a general anti-allergy supplement. Also apply calamine lotion and a mild steroid cream like dermacort on the rash.
If the symptoms are severe then it will be best to consult a dermatologist
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.