Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP User Navigation issues. 1

Status
Not open for further replies.

bluecjh

Programmer
Joined
Mar 12, 2003
Messages
385
As a relatively new asp developer it strikes me that a lot of the core issues vis a vis asp aplication development are about the control (or lack of control) of the user and the ‘flow’ thorough the application.

I have been trying to successfully gain some control by looking at the ‘disabling the back button’ issue, I came to the conclusion that the easiest and cleanest method was:

<script>
history.forward();
</script>

(assuming the browser accepts this code) but by navigating through the 'history' I can get round this fix. I am not happy with this ‘cheat’ anyway because I would prefer a ‘server side’ solution (which by the way also does not involve the use of session variables).

How do you pros generally approach the issue of users repeatedly hitting the back or forward buttons or retrieving pages from the ‘history’ and thus wrecking the application logic?, for example say in on-line banking if I transferred money from one account to another I assume that the application wouldn’t let me duplicate a transaction just by clicking back and resubmitting the page.

I’m sorry for the length of this but the solutions I read all seem a bit ‘cheat’ – like and fallible. In broad terms what is the way to go?

Chris
 
Well a refresh is a big problem it's just nice to know
when things happen why,

Well last night I finally had a submission reject
wonderful?

I must say a big thanks for all your time and thought
Genimuse, now, which was your best post?

bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top