Rick, Is the ColdFusion conditional code in the includes/ include_menu_index.cfm file?
If so, there may be issues with the AJAX request not using the same ColdFusion session as your main page. Also, you might check your AJAX response using Fiddler with IE and compare it to the response in Firefox using Firebug. HTH, Carl On Jan 8, 3:04 pm, "Rick Faircloth" <r...@whitestonemedia.com> wrote: > 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() }