handle_path change on back button ... back from where?
Added by Thomas Lynch about 11 years ago
If I forward click from a page, the browser opens a second tab into my application. Now the user hits the back button, which page did it come from? The handler only tells me the new path requested, but not the old one it came from. With two tabs open there are two possibilities. The one in tab 1 or the one in tab 2? Without knowing the from page, I don't know how to reply. .. and how does Wt and the browser keep track of which tab the data should go to?
Replies (1)
RE: handle_path change on back button ... back from where? - Added by Koen Deforche almost 11 years ago
Hey,
A proper designed application shouldn't differentiate a page response depending on where the user came from? Why do you want this?
Note that each tab has its own Wt session. So they are really totally unrelated to each other, and have their own server-side context isolated from each other.
Regards,
koen