Solved

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

Posted on 2009-05-13
2
1,292 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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 …
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
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…

777 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