Solved

How to avoid "session merging" when the same CF application is opened twice

Posted on 2009-05-13
2
1,286 Views
Last Modified: 2013-12-24
If a user opens the same ColdFusion application in two different instances of IE6 (or in two different tabs of IE7), the two instances of the application will interfere with each other because they will share a single set of session variables.  How can we either a) prevent a user from starting a second instance of a ColdFusion application on the same machine, or b) prevent multiple instances of the ColdFusion application from interfering with each other's session variables?

Logging in twice with the same credentials is not the issue as long as the user logs on from two different machines.  The question I'm asking involves opening the same application twice on the same machine.

We work in an environment where we restrict our user community to IE only.

Thanks in advance.
0
Comment
Question by:ISHUC
2 Comments
 
LVL 39

Accepted Solution

by:
gdemaria earned 250 total points
Comment Utility
If you open a new window or tab with IE/Firefox using File -> New Window  or File -> New Tab the new tab/window will share the same session as the original window/tab.  If you return to the START menu or the desktop icon and double click it to launch the application again, it will have a different session.

Sharing the session is an attribute of the browser, that's the way it works.   You can't do anything about it.   I researched this quite extensively.

I then realized, so what.  That's the way it works, why fight it.   Even with the ultra secure banks, credit card and broker accounts that I have, they all do it and it works fine.

I suggest exploring the reason you want it not to do this and see if there is something you can do to think of it as OK.. because you can't change it.

0
 

Author Closing Comment

by:ISHUC
Comment Utility
I accept your answer, and I thank you very much for it.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now