Clear history and web site date on iPad remotely

Clear history and web site date on iPad remotely

We use iPads is a primary school. is there a way of clearing history and web site date on iPad remotely at once or on exit? also some way to delete all photos stored on the device?