Solved

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

Posted on 2009-05-13
2
1,290 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
ID: 24381411
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
ID: 31581204
I accept your answer, and I thank you very much for it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

15 Experts available now in Live!

Get 1:1 Help Now