Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-05-13
2
Medium Priority
?
1,302 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 39

Accepted Solution

by:
gdemaria earned 1000 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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 …
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

715 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