go back 2 pages, yes: history.go(-2);
refresh when you get there is trickier, since you'll have to devise some method of calling location.reload() only once or else end up in an infinite reload loop...
an easier way may be to set the expiration of the page to immediate - in asp this is done:
response.expires = -1
=========================================================
while (!succeed) try();
-jeff