Prevent data from being shared between brower tabs

Your help is needed

I have an application that is currenly sharing data when the customer switches from one tab to another. How can I prevent this becasue they application is designed to delete records. So when the customer has multiple tabs open on a browser, The wrong data is deleted. is this a problem of clearing the cashe or major surgery
vcurtisAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
Sounds like a surgeon is needed. Without knowing more about the app it sounds like it has not been designed with Idempotence in mind https://en.wikipedia.org/wiki/Idempotence
With functionality like deleting records you want to make sure that opening new pages, re-submitting data, refreshing a page does not result in undesirable side effects.

Best way forward - address the design issues that are allow this to happen.
vcurtisAuthor Commented:
yes I agree but my clients are not that savy, My help desk is getting call after call for rollbacks. Here is an example of the problem

1) open a tab and type in "blue"
2) open another tab and type in "yellow"
3) switch back to the first tab and it says "yellow" remember it should say "blue"
Julian HansenCommented:
That is a design issue - but I am not sure that it is wrong.

Can you post more information about the process you describe above. For instance - when blue is typed in tab 1 - is a button pressed to commit the change or is it dynamically updating?

The way I see it - if you change a record in one window - you would want to see that change reflected in any other windows that have that record open. Consider the alternative

1. Enter blue in tab 1
2. Enter yellow in tab 2
3. Go back to tab 1 - still says blue - you now have a conflict - if you commit the blue - what happens to the yellow - who wins?

Without knowing more about your application, how it works and what it is you are expecting it to do difficult to call this one.
_TAD_Commented:
What you have described plagues many large enterprise applications as well (I've experienced this in Oracle/PeopleSoft CRM and IBM Maximo Asset Management tool).

Setting up workflows rules between two entities that are very similar - two tabs and some cut and paste of descriptions or simple text - seemed easy enough.  Sadly the GUID for the Rule ID was stored in a session variable and as we flipped back and forth between tabs we overwrote the RuleGuids causing *much* confusion.


We could not fix the problem, final solution was to train the user not to open multiple tabs and to mutex test/prod environments so they could not have both open at the same time.

good luck!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vcurtisAuthor Commented:
I found a better solution. change the property from session state to view state
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.