I have a NavBar that will show 3 different sets of links based on the ROLE of the User.

 

If they are NOT Logged IN it will show the Public links

 

If they are Logged IN it will show a set of links based on the ROLE they are a member.

 

This works fine.

 

But what I need to do is create a simple CFIF test, something like this (below) but I’m not referencing the correct Plum variable, or whatever yet.

 

At this point I am NOT checking their ROLE, just whether or not they are loggeIN or NOT. If IN then I want to have the first Link in the NavBar be to LogOUT.cfm, If they are not logged in yet, then, obviously I show the LoggIN Link.

 

Can anyone show me the right way to do this:

 

 

<CFIF “IsLoggedIN”>

 

            --LogOUT Link-  -NavItem_1-  -NavItem_2-  etc.

 

<CFELSE>

 

            --LogIN Link- -NavItem_1-  -NavItem_2-  etc.

 

</CFIF>

 

 

 

 

Dan Kaufman

 

 

 

An Elephant Never Forgets

[EMAIL PROTECTED]

 

Reply via email to