Question
Protecting specific content
The site I'm building will be hooked up to an SQL database
with say, 100 articles. When a paid subscriber logs in they will
have access to all of the available content. No problem there. I
looked at this thread:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=1343846&enterthread=y
and it explains well how to protect the content. The difference is that I want non-paid subscribers to see the entire list of links. The first four are free and will show up in black while the other 196 are premium content and those links will show up in gray. If a user clicks the gray link they will obviously be routed to a "pay here" kind of page.
Can I use the cfif to alter the color of the hyperlinks if the user is NOT logged in? Maybe a CSS rule on the page itself? Any ideas would be greatly appreciated.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=1343846&enterthread=y
and it explains well how to protect the content. The difference is that I want non-paid subscribers to see the entire list of links. The first four are free and will show up in black while the other 196 are premium content and those links will show up in gray. If a user clicks the gray link they will obviously be routed to a "pay here" kind of page.
Can I use the cfif to alter the color of the hyperlinks if the user is NOT logged in? Maybe a CSS rule on the page itself? Any ideas would be greatly appreciated.
