Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1306
  • Last Modified:

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

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
ISHUC
Asked:
ISHUC
1 Solution
 
gdemariaCommented:
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
 
ISHUCAuthor Commented:
I accept your answer, and I thank you very much for it.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now