I am developing an app that has role based security. Depending on who logs in, they may have up to 6 different roles they can assume during their session, all the way from basic user, to administrator. I want them to be able to switch their roles on the fly. I have a dsp_Links.cfm that has all of my application-wide links in it. The list box that changes the current role is there too. The problem I am having is that if I follow the fusebox model, when I submit my form to change the role, I will call a new page with a new fuseaction which will result in me losing whatever I was doing before I switch roles. This could get really annoying. The workaround I have is my form submits to an <iframe> in the same links page that sets the client variable and then reloads the whole thing so the new client variable will be read. Since it's just a refresh of the page nothing is lost. The only problem is that this only works if I am working in the circuit that actually contains the dsp_Links.cfm. If I'm in any other circuit, it tries to call a fuseaction that doesn't exist. I know there has to be a better way to do this .. any ideas? Todd Ashworth -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
