> My boss has indicated to me that he would like to open up
> two PC IE
> browser windows, log into our application under two
> different logins
> and view the data from each of those independently.  I had
> been
> keeping information in cookies, but since they'd share a
> cookie, I
> migrated the information over to session variables.  But
> it doesn't
> seem to be working.

There's not a solution that's both reliable and easy to implement...
Some combinations of windows/IE versions will allow IE to have
multiple instances with different sets of active cookies. The trick is
that the 2nd IE window needs to be spawned from the Launch Bar or the
Desktop instead of File > New > Window or Ctrl+N. The only way CF
knows which session the current browser belongs to is by the use of
cookies (or url variables) -- so even when you use session variables,
you're still relying on the browser's cookies, specifically the
cfid/cftoken cookies. Passing cfid and cftoken in the url overrides
the cookie, so you could theoretically generate a random cfid and
cftoken during each login and pass those, but you would need to edit
your application to ensure that those two variables are passed on the
url in every request, whether it's a link, form-post, cflocation tag
or manipulating the javascript location object.

The easiest solution is to use different browsers... If he wants IE
browsers specifically (or if the application only supports them),
there are several IE shell browsers he can install, like MyIE, MyIE2,
Avante Browser and Maxthon.


s. isaac dealey     954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208961
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to