A "livid" mum has criticised a school for not letting pupils visit the toilet during lessons.
As temperatures skyrocketed this week, Melanie Hennessy from Teeside instructed her daughter Daisy to drink plenty of water at school to stay hydrated.
However, because of strict school regulations, the 12-year-old was "kept waiting for over an hour" to use the toilet.
Daisy's School - Outwood Academy Redcar - said the rules are in place to "minimise any disruption to learning" and pupils are only allowed to go during lessons if they have a special pass or teacher's note.
Mrs Hennessy says, while Daisy does have a condition that would exempt her, she refuses to pay for a doctor's letter - because "whether she has a medical condition or not, if she needs the toilet she should be able to go".
She accused the school of treating pupils "like prisoners", and her daughter was too scared to drink a lot, after she was told she was unable to go, in case she needed to use the toilet during lessons.
"I'm absolutely livid, they are human beings," Melanie told Teesside Live .
"They are treated better than that in prison. The whole system needs to change, the world's gone mad.
"Medical condition or not, it's a God-given right to go, it's part of nature."
"The school has said I need a medical pass from the doctor, you have to pay £50 for it.
"We fell out over it on Monday, I said to her 'how much have you drank' - she said 'I only drank a bottle and a bit' because the toilets are kept locked.
"Having to wear a full uniform, they were allowed to take their blazer off, I knew she would be red hot," Melanie posted on social media.
"BUT as a result of drinking more water she needed the toilet only to be kept waiting for over an hour before she could go."
Melanie met with the school and admits she "was fuming and let rip" with staff, raising issues including the toilet rule and the wearing of full uniform during the summer.
"I was told that the rules for using the toilet will NOT change," she said, "children can use the toilet before school (nice of him) at morning break, lunch time and after school.
"Now am I wrong in thinking that if you need to go to the toilet then you should go?
"Those in prison get treated better, my child is not in jail but I feel like she's been treated like a prisoner."
The irate mum said she would understand if pupils were asking to go to the bathroom every few minutes, but said this is not the case with her daughter.
She added: "I said 'am I to tell my daughter to train her bladder to only go before school and lunchtime?
"They should know when children are taking the mick and when they genuinely need the toilet. When I was a teacher, I knew who was being honest with me and who was taking the mick.
"What do staff do when they need the toilet? When it's this hot, how do you concentrate when you're stifling hot and you're busting for a wee?
"Temperatures are rising, this is the way of the future, we will have to accommodate this and adjust. Children are there to learn not to be treated like prisoners.
"They got both barrels from me - and I'm not finished on this one. I will do whatever it takes to change this."
A spokesperson for the academy said: "During this period of warmer weather, staff are aware that students are increasing their water intake.
"Students are encouraged to use the toilet before school, at break time and at lunch time to minimise any disruption to learning.
"However, students are permitted to go to the toilet during lessons if they have a toilet pass that has been issued for medical reasons, or if they have a note from their teacher.
"We have also relaxed school uniform rules due to the weather.
"Students do not need to bring their blazers and if they do choose to bring their blazers, they do not have to be worn in lessons or whilst moving around the academy.
"Students are also allowed to remove their tie and undo their top button if they are still too warm."