Expanding on what Russ said, we've got a "mimic" feature that takes a logged in session user (session.user variable), moves it (session.originaluser) and then logs in the admin as the requested user to mimic. So there is a new session.user and the admin's own session.originaluser. We have some functionality that should not be performed while mimicking (so we check for a session.originaluser), and when the admin is done, they stop the mimic, we delete the session.user and move session.originaluser back to session.user and the admin is back to him/herself on the site.
-----Original Message----- From: Torrent Girl [mailto:[email protected]] Sent: Tuesday, July 24, 2012 2:31 PM To: cf-talk Subject: logging in as user with admin account Hi All. I am working on an app that needs to allow an admin to log in as a user but keep his/her session active. Any suggestions? I tried to force a different browser but from my research that is impossible. Also, I am not using URL params but the user info is set in session. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351976 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

