How can I force the processing of ColdFusion code in a menu segment when I have some login and I replace the menu HTML.
I had some conditional code like: <cfif isdefined("session.announcements") and session.announcements eq 1> <li><a href="cfm/announcements.cfm">Announcements</a></li> </cfif> <cfif isdefined("session.res_announcements") and session.res_announcements eq 1> <li><a href="cfm/res_announcements.cfm">RES Announcements</a></li> </cfif> This code displays menu items only if the user has clearance to access those sections in a site manager. The problem I have is the IE (seems to be working fine in FF3) is not processing the CF code unless I do a full page refresh...then it displays the menu appropriately. Here's the jQuery...any idea how to force IE to reprocess the CF, too? > $.ajax({ > type: "POST", > url: "login/login_processor.cfm", > dataType: "json", > data: formval, > success: function(response){ > > if (response.login == "Login Successful") > { $('#logstatus').empty().append("Log Out"); > $('#menu').hide(); > $('#menu').load("includes/include_menu_index.cfm").show(); > tb_remove() }