I am trying to work on something where whenever a user is logged in my site, it shows a logout image link for them in the header top area section. Whenever they are not logged in, the image of login comes in with a link instead. Any help would be appreciated.

Manual manipulation of cookies isn't the best way to go to have a log in session. Like many things, Coldfusion abstracts out most of the trivial code and provides you with a few cfml tags that mean the same thing. I suggest you look into the use of a cfapplication tag inside Application.cfm file (or more preferably in an Application.cfc file). Google for user sessions in coldfusion, and you should be well on your way.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.