The only problem with that is the heat can shatter the tempered glass from thermal stress... Then you get to buy a replacement back window.
That's a lot for glue. Next time if you have access to an electric soldering solder iron; solder it back on. Its much cheaper and more permanent.