Multiple Condition If Statement
I am currently working on a mobile redirect in which I would like the mobile user to be able view the Full version of only two pages of the site. The link to the page from the mobile site sends redirect=true in the query string and creates a COOKIE named redirect. My question is how do i properly write the below conditional statement to achieve the results I need? I need news.cfm and news-details.cfm to allow the full version and any other link clicked to take them back to the mobile site. Of course I have left out portions of code but I think I have included enough to understand the issue. This code resides in the Application.cfm file. Thanks in advance.
<cfif COOKIE.redirect IS "true" AND #CGI.script_name# IS "/news.cfm" OR #CGI.script_name# IS "/news-details.cfm">
I have tried every way I can think of and it just won't work the way I need it to.
