If you are talking about the old Elmer's white "school" glue, I would not recommend using gasoline as this is complete overkill. This glue is water-based and a solvent-based product is not necessary.
The Elmer's website recommends--"School Glue or Glue-All products - soap and water are usually all you need to clean up these products. If it's on clothing, just launder as recommended by the manufacturer."