Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser Back Button Again #999,332
#5
(07-18-2019, 01:26 AM)Alexandre Machado Wrote: >And it does NOT work if the user changes the URL.

You don't expect IntraWeb to trap your user forever inside your application even if he/she changes the URL, right?
This is not how web is supposed to work and it won't ever work like that (thankfully!). Browsers will make sure that end user actions will prevail, doesn't matter what tricks you have in your JavaScript bag...

What your competitor has is probably an onbeforeunload event which detects that your page is about to be unloaded and shows a message. It is *terribly* annoying for end users. Imagine if each page you visit asked you "Are you sure that you want to move away from this wonderful web site?"....

anyway, implementing that "feature" is up to the web developer.

Howdy Alexandre!

The problem is many users use the browser's backward / forward buttons for navigation and it causes all kinds of problems - I guess I can try and implement one of the various 'hash value' schemes I have read others do.

If you don't mind me asking, how does IW's back button detection work? Would it be easily possible to add a OnBeforeUnload event to the TIWAppForm?

All the best,

Shane
Reply


Messages In This Thread
RE: Browser Back Button Again #999,332 - by joel - 07-17-2019, 02:41 AM
RE: Browser Back Button Again #999,332 - by ShaneStump - 07-19-2019, 01:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)