Hey Everyone,
Newbie here... just purchased a copy of Rob Brooks-Bilson's Programming
ColdFusion a few weeks back and I think I'm hooked on this stuff..

I have never done any previous database web dev. but I have done plenty
of HTML.  Well, I just built a message forum and database driven
calendar, and now I'm going to dig in and figure out user logins.  I was
looking at session/cookie/client variables and had a couple questions.

I would like to have my site remember a user's setting if they request
it.  So, I figure that I'll use a single cookie that stores a unique
user-id in a cookie and then request that cookie and reference it
against the user database for the rest of their configuration (username,
email, etc)

What I'm somewhat confused about is if I need to enable client
management to use cookies?  And do I need session management if I want
to make use of session variables, or does that just make the app create
CFID and CFTOKEN.  Here's what I'm guessing, and I was hoping someone
could tell me if I'm right or wrong..

<cfapplication name = "application_name"
        clientManagement = "No"
        setClientCookies = "No"
        sessionManagement = "Yes/No???" <- do I need this?
        sessionTimeout = #CreateTimeSpan(0, 0, 30, 0)#
        applicationTimeout = #CreateTimeSpan(0, 0, 30, 0)#> 

Hopefully that makes sense...

Thanks!
Mike
-- 
[...]
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to