Application.cfc and user accounts
Hi, I"m working with Coldfusion 9, and I've been learning about how to use it from Lynda Training DVDs and the book "Adobe Coldfusion 9 application construction kit."
The Dynamic Development with Dreamweaver CS4 DVD says to do user login stuff with the Application.cfc file, but in the book, it says:
"This means you should not use application variables if you want a seperate copy of the variable to exist for each visitor to your site. IN other words, application variables shouldn't be used for anything personalized, because they don't distinguish between yoiur site's visitors."
All I'm trying to do is let a user log in to my site, and when they go to discussion board, or post comments on an article and things like that, I want to have "You are logged in as: [username]" as opposed to a username text field they can enter their username on....so, when they click 'post comment' the username they are logged in as is submitted automatically along with the comment they post.
Any help would be greatly appreciated.
Thank you,
Mike
