In my application I have a built-in "Back" button at the top of every webform, and I have instructed users to use this "Back" button instead of the IE Back button for obvious reasons.
My back button uses a Response.Redirect call to take the user back to the previous page
My problem is... Since none of my webforms have 1 single entry point, In order to determine where the user came from, I need to pass in an extra variable ("BackTo") into each webform. This extra variable contains the name of the previous webform where the user arrived from. The Back button then sends the user back to that page.
Response.Redirect(Request.QueryString("BackTo"))
Is there an easier way to do this? I have that unsightly feeling that tells me this should be much easier than I'm making it. Thanks.
Regards,
Mike
"Don’t get suckered in by the comments – they can be terribly misleading. Debug
only code. – Dave Storer."
My back button uses a Response.Redirect call to take the user back to the previous page
My problem is... Since none of my webforms have 1 single entry point, In order to determine where the user came from, I need to pass in an extra variable ("BackTo") into each webform. This extra variable contains the name of the previous webform where the user arrived from. The Back button then sends the user back to that page.
Response.Redirect(Request.QueryString("BackTo"))
Is there an easier way to do this? I have that unsightly feeling that tells me this should be much easier than I'm making it. Thanks.
Regards,
Mike
"Don’t get suckered in by the comments – they can be terribly misleading. Debug
only code. – Dave Storer."