In a web app. I have a 'master' form (EventDetail.aspx) which displays
existing bookings for an event. If the user clicks on a booking they are
taken (with a server.transfer) to Booking.aspx which displays the details
and lets them modify. I notice that when the Booking.aspx form is displayed,
the browser address bar still shows the address of the previous form? - huh?
After the user submits changes to Booking.aspx I do a server.transfer back
to EventDetail.aspx - the address bar still shows "...EventDetail.aspx". The
real problem comes if they then refresh (F5) this screen. IT SOMEHOW
RE-INVOKES THE DATABASE UPDATE FROM BOOKING.ASPX!?!? Through debugging I
see that after the refresh it runs the OnLoad for Booking.aspx (IsPostBack =
true) , then jumps to the code for BtnSubmit (which does the database
update).
Could anyone help me understand what the heck is going on here?
Thanks,
Paul.