i am have moved an application that originally resided on a cf 5.0 server and now resides on a cfmx server. i have worked out some syntax issues with having the application on the cfmx server, however i am stuck on one issue.
in our application, we have a url that allows people to switch back and forth between the admin mode. the link is called "Toggle Adminmode".
if you click on that link, you are supposed to stay on the page where you were at and a red message at the top will appear that says " you are now in administrative mode".
however, what used to work on cf 5.0 is not working on cfmx. i believe i have narrowed down the issue to this...
<cflocation url="#Right(CGI.HTTP_REFERER,Len(CGI.HTTP_REFERER)-FindNoCase('index.cfm', CGI.HTTP_REFERER )+1)#">
does anyone see why this would not work in CFMX?? or is there another way to write this??
thank you so much. :-)