Good idea, but that didn't seem to work. 500 again. Perhaps I'll test this in Safari / Firefox Mac. as well and report back.
>Try and change your Ajax call to a POST instead of a GET. > > > > > > >"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, >Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, >Registered in England, Number 678540. It contains information which is >confidential and may also be privileged. It is for the exclusive use of the >intended recipient(s). If you are not the intended recipient(s) please note >that any form of distribution, copying or use of this communication or the >information in it is strictly prohibited and may be unlawful. If you have >received this communication in error please return it to the sender or call >our switchboard on +44 (0) 20 89107910. The opinions expressed within this >communication are not necessarily those expressed by Reed Exhibitions." >Visit our website at http://www.reedexpo.com > >-----Original Message----- >From: D F >To: CF-Talk >Sent: Thu Sep 21 09:08:53 2006 >Subject: CF Ajax and CFLogin... > >I have ajax script that sends a url hit to a remote cfc method. This cfc is >of course secured in that the roles attributes have been set. What I've done >is to login the user ( via CFLOGIN ) on the page where the JS/Ajax calls are >made, and of course assign the appropriate permissions to that users to be >able to properly access the cfc. > >In FIREFOX this works grand, but in IE it does not seem to like the way I've >set the permission as I get back error code: 500 from the ajax/js script. > >I'm assuming that the CFLOGIN tag did not set the permissions and or IE did >not 'understand' that the user has been authorised... another possibility >would seem to indicate that the ajax/js calls are made BEFORE the cflogin >has had time to propogate into the cookie/registry etc...but that doesn't >really make sense as the user should have been 'logged in' when the CFLOGIN >tag ran. The ajax/js calls are made AFTER page load so this probably is not >the case. > >has anyone else encountered this problem? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253696 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4