When users open links in a new window
We have a report that shows many rows of data together with a link to drill down on a particular row by branching to another page, passing the row PK as a parameter - standard stuff.
However, some of our users like to use the browser facility to open the link in a new window. They then go back to the report and maybe open another link in another new window.
Now they have 2 new windows open, supposedly showing 2 different sets of data. But since the windows share the same SESSION value, the session state gets mixed up. If they click the 2 links quickly enough they can even end up with the same data displayed in both windows.
I realise that I can avoid this by NOT passing the session ID. But since the user could do this with any link, that means NEVER passing the session ID in any link, so effectively not having any persistent session state.
Is it possible to:
- prevent the user from opening the link in a new window?
- recognize that the user has opened the link in a new window and start a new session?
This must be a potential issue for all ApEx applications, so I am sure someone has solved it already!